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:
Sergey Biryukov 2019-12-26 14:40:10 +00:00
parent 079580a6b7
commit c231e66c0a

View File

@ -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&hellip;' ) . '</p><div class="hide-if-js notice notice-error inline"><p>' . __( 'This widget requires JavaScript.' ) . '</p></div>';