From 703a0e99e1e2559741abb790bb16282a62faa736 Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@17782 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' );