Make WordPress Core

Changeset 17782


Ignore:
Timestamp:
04/30/2011 05:24:06 PM (14 years ago)
Author:
markjaquith
Message:

Provide no-js message on the dashboard when the cache is not hot and an XHR is required. props ocean90. see #16927

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r17766 r17782  
    10171017 */
    10181018function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) {
    1019     $loading = '<p class="widget-loading">' . __( 'Loading&#8230;' ) . '</p>';
     1019    $loading = '<p class="widget-loading hide-if-no-js">' . __( 'Loading&#8230;' ) . '</p><p class="hide-if-js">' . __( 'This widget requires JavaScript.' ) . '</p>';
    10201020
    10211021    if ( empty($check_urls) ) {
Note: See TracChangeset for help on using the changeset viewer.