Ticket #16927: 16927.no-js-message.patch
File 16927.no-js-message.patch, 711 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/dashboard.php
1016 1016 * @return bool False on failure. True on success. 1017 1017 */ 1018 1018 function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) { 1019 $loading = '<p class="widget-loading ">' . __( 'Loading…' ) . '</p>';1019 $loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading…' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>'; 1020 1020 1021 1021 if ( empty($check_urls) ) { 1022 1022 $widgets = get_option( 'dashboard_widget_options' );