From de69bbd71395c5fa5e7d6c13a126825918d271c5 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 8 Jun 2021 22:54:59 +0000 Subject: [PATCH] Coding Standards: Use single quotes when there are no variables within the string. Follow up to [51117]. See #48743. git-svn-id: https://develop.svn.wordpress.org/trunk@51120 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index dc5b12f5fb..178e45b2a1 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -1671,7 +1671,7 @@ function wp_dashboard_browser_nag() { if ( $response ) { if ( $is_IE ) { - $msg = __( "Internet Explorer does not give you the best WordPress experience. Switch to Microsoft Edge, or another more modern browser to get the most from your site." ); + $msg = __( 'Internet Explorer does not give you the best WordPress experience. Switch to Microsoft Edge, or another more modern browser to get the most from your site.' ); } elseif ( $response['insecure'] ) { $msg = sprintf( /* translators: %s: Browser name and link. */ @@ -1690,7 +1690,7 @@ function wp_dashboard_browser_nag() { if ( ! empty( $response['img_src'] ) ) { $img_src = ( is_ssl() && ! empty( $response['img_src_ssl'] ) ) ? $response['img_src_ssl'] : $response['img_src']; - $notice .= '
'; + $notice .= '
'; $browser_nag_class = ' has-browser-icon'; } $notice .= "

{$msg}

";