Changeset 46130 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 09/15/2019 11:10:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r45932 r46130 1063 1063 * @return bool False on failure. True on success. 1064 1064 */ 1065 function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) {1065 function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array(), ...$args ) { 1066 1066 $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>'; 1067 1067 $doing_ajax = wp_doing_ajax(); … … 1090 1090 1091 1091 if ( $callback && is_callable( $callback ) ) { 1092 $args = array_slice( func_get_args(), 3 );1093 1092 array_unshift( $args, $widget_id, $check_urls ); 1094 1093 ob_start();
Note: See TracChangeset
for help on using the changeset viewer.