From caa6046220d7b91928828943ab216ce03a917f5a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 13 Jun 2011 08:30:53 +0000 Subject: [PATCH] [18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781. git-svn-id: https://develop.svn.wordpress.org/trunk@18297 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 301d31bcc1..b01f9f361c 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -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 %2$s. 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 %s. 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 %2$s. 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 %s. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) ); } $browser_nag_class = '';