Make WordPress Core


Ignore:
Timestamp:
06/11/2011 09:14:03 PM (13 years ago)
Author:
nacin
Message:

Browser nag dismiss: hide-if-no-js. props duck_, see #17766.

File:
1 edited

Legend:

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

    r18268 r18281  
    11861186        $notice .= "<p class='browser-update-nag{$browser_nag_class}'>{$msg}</p>";
    11871187        $notice .= sprintf( __( '<p><a href="%1$s" class="update-browser-link">Update %2$s</a> or learn how to <a href="%3$s" class="browse-happy-link">browse happy</a></p>' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ), 'http://browsehappy.com/' );
    1188         $notice .= '<p><a href="" class="dismiss">' . __( 'Dismiss' ) . '</a></p>';
     1188        $notice .= '<p class="hide-if-no-js"><a href="" class="dismiss">' . __( 'Dismiss' ) . '</a></p>';
    11891189        $notice .= '<div class="clear"></div>';
    11901190    }
Note: See TracChangeset for help on using the changeset viewer.