Docs: Fix typo in wp_dashboard_cached_rss_widget()
documentation.
Props mukesh27. Fixes #49082. git-svn-id: https://develop.svn.wordpress.org/trunk@47015 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
079580a6b7
commit
c231e66c0a
@ -1059,10 +1059,10 @@ function wp_dashboard_rss_output( $widget_id ) {
|
|||||||
* by adding it to the function signature.
|
* by adding it to the function signature.
|
||||||
*
|
*
|
||||||
* @param string $widget_id The widget ID.
|
* @param string $widget_id The widget ID.
|
||||||
* @param callable $callback The callback funtion used to display each feed.
|
* @param callable $callback The callback function used to display each feed.
|
||||||
* @param array $check_urls RSS feeds
|
* @param array $check_urls RSS feeds.
|
||||||
* @param mixed ...$args Optional additional parameters to pass to the callback function when it's called.
|
* @param mixed ...$args Optional additional parameters to pass to the callback function.
|
||||||
* @return bool False on failure. True on success.
|
* @return bool True on success, false on failure.
|
||||||
*/
|
*/
|
||||||
function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array(), ...$args ) {
|
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>';
|
$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>';
|
||||||
|
Loading…
Reference in New Issue
Block a user