mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Docs: Fix typo in wp_dashboard_cached_rss_widget()
documentation.
Props mukesh27. Fixes #49082. Built from https://develop.svn.wordpress.org/trunk@47015 git-svn-id: http://core.svn.wordpress.org/trunk@46815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a814d6e363
commit
7c2275dfe4
@ -1059,10 +1059,10 @@ function wp_dashboard_rss_output( $widget_id ) {
|
||||
* by adding it to the function signature.
|
||||
*
|
||||
* @param string $widget_id The widget ID.
|
||||
* @param callable $callback The callback funtion used to display each feed.
|
||||
* @param array $check_urls RSS feeds
|
||||
* @param mixed ...$args Optional additional parameters to pass to the callback function when it's called.
|
||||
* @return bool False on failure. True on success.
|
||||
* @param callable $callback The callback function used to display each feed.
|
||||
* @param array $check_urls RSS feeds.
|
||||
* @param mixed ...$args Optional additional parameters to pass to the callback function.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array(), ...$args ) {
|
||||
$loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading…' ) . '</p><div class="hide-if-js notice notice-error inline"><p>' . __( 'This widget requires JavaScript.' ) . '</p></div>';
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47014';
|
||||
$wp_version = '5.4-alpha-47015';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user