Make WordPress Core

Ticket #17766: 17766.hide-if-no-js.diff

File 17766.hide-if-no-js.diff, 806 bytes (added by duck_, 13 years ago)
  • wp-admin/includes/dashboard.php

     
    11851185                }
    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><a href="" class="hide-if-no-js dismiss">' . __( 'Dismiss' ) . '</a></p>';
    11891189                $notice .= '<div class="clear"></div>';
    11901190        }
    11911191