Make WordPress Core

Ticket #16927: 16927.no-js-message.patch

File 16927.no-js-message.patch, 711 bytes (added by ocean90, 14 years ago)
  • wp-admin/includes/dashboard.php

     
    10161016 * @return bool False on failure. True on success.
    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) ) {
    10221022                $widgets = get_option( 'dashboard_widget_options' );