Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-06-12 21:38:57 +00:00
parent 4dcb9576c8
commit 7271998aa6
1 changed files with 2 additions and 2 deletions

View File

@ -1171,9 +1171,9 @@ function wp_dashboard_browser_nag() {
if ( $response ) {
if ( $response['insecure'] ) {
$msg = sprintf( __( 'It looks like you\'re using an insecure version of <a href="%1$s">%2$s</a>. Using an outdated browser makes your computer unsafe. For the best WordPress experience, please update your browser.' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) );
$msg = sprintf( __( "It looks like you're using an insecure version of <a href='%1$s'>%2$s</a>. Using an outdated browser makes your computer unsafe. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) );
} else {
$msg = sprintf( __( 'It looks like you\'re using an old version of <a href="%1$s">%2$s</a>. Using an outdated browser makes your computer unsafe. For the best WordPress experience, please update your browser.' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) );
$msg = sprintf( __( "It looks like you're using an old version of <a href='%1$s'>%2$s</a>. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) );
}
$browser_nag_class = '';