diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 79e770682..2a96ceadc 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -763,7 +763,7 @@ function wp_dashboard_recent_comments_control() { } function wp_dashboard_incoming_links() { - echo '

' . __( 'Loading…' ) . '

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

'; + wp_dashboard_cached_rss_widget( 'dashboard_incoming_links', 'wp_dashboard_incoming_links_output' ); } /** @@ -851,7 +851,7 @@ function wp_dashboard_incoming_links_control() { } function wp_dashboard_primary() { - echo '

' . __( 'Loading…' ) . '

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

'; + wp_dashboard_cached_rss_widget( 'dashboard_primary', 'wp_dashboard_rss_output' ); } function wp_dashboard_primary_control() { @@ -873,7 +873,7 @@ function wp_dashboard_rss_output( $widget_id ) { } function wp_dashboard_secondary() { - echo '

' . __( 'Loading…' ) . '

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

'; + wp_dashboard_cached_rss_widget( 'dashboard_secondary', 'wp_dashboard_secondary_output' ); } function wp_dashboard_secondary_control() { @@ -912,7 +912,11 @@ function wp_dashboard_secondary_output() { } function wp_dashboard_plugins() { - echo '

' . __( 'Loading…' ) . '

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

'; + wp_dashboard_cached_rss_widget( 'dashboard_plugins', 'wp_dashboard_plugins_output', array( + 'http://wordpress.org/extend/plugins/rss/browse/popular/', + 'http://wordpress.org/extend/plugins/rss/browse/new/', + 'http://wordpress.org/extend/plugins/rss/browse/updated/' + ) ); } /**