diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index c2589acc1a..9c7f93c430 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -988,9 +988,10 @@ function wp_dashboard_rss_output( $widget_id ) { * * @since 2.5.0 * - * @param string $widget_id - * @param callable $callback - * @param array $check_urls RSS feeds + * @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. */ function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) { diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 5c54b21402..89b2604e64 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -476,15 +476,16 @@ function media_handle_sideload( $file_array, $post_id, $desc = null, $post_data } /** - * Adds the iframe to display content for the media upload page + * Outputs the iframe to display the media upload page. * * @since 2.5.0 * * @global int $body_id * - * @param string|callable $content_func + * @param callable $content_func Function that outputs the content. + * @param mixed ...$args Optional additional parameters to pass to the callback function when it's called. */ -function wp_iframe( $content_func /* ... */ ) { +function wp_iframe( $content_func ) { _wp_admin_html_begin(); ?> <?php bloginfo( 'name' ); ?> › <?php _e( 'Uploads' ); ?> — <?php _e( 'WordPress' ); ?>