Ticket #17766: 17766.hide-if-no-js.diff
File 17766.hide-if-no-js.diff, 806 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/dashboard.php
1185 1185 } 1186 1186 $notice .= "<p class='browser-update-nag{$browser_nag_class}'>{$msg}</p>"; 1187 1187 $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>'; 1189 1189 $notice .= '<div class="clear"></div>'; 1190 1190 } 1191 1191