From c231e66c0a9fce49216b4041d140216a49c2dcf2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 26 Dec 2019 14:40:10 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/dashboard.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 569f078243..0a4b8311e0 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -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 = '

' . __( 'Loading…' ) . '

' . __( 'This widget requires JavaScript.' ) . '

';