From 8464d7203d36c54d04d1314336739f6c2b68db25 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Sat, 30 Apr 2011 17:24:06 +0000 Subject: [PATCH] Provide no-js message on the dashboard when the cache is not hot and an XHR is required. props ocean90. see #16927 git-svn-id: http://svn.automattic.com/wordpress/trunk@17782 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 2a96ceadc1..4d070c53fc 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1016,7 +1016,7 @@ function wp_dashboard_plugins_output() { * @return bool False on failure. True on success. */ function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) { - $loading = '

' . __( 'Loading…' ) . '

'; + $loading = '

' . __( 'Loading…' ) . '

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

'; if ( empty($check_urls) ) { $widgets = get_option( 'dashboard_widget_options' );