From 921e131eae45801b8fdb1ecfceb5d7839fdfd509 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Mon, 2 Apr 2018 10:15:33 +0000 Subject: [PATCH] General: Improve wording for PHP version nag. This changeset adjusts the tone of the message to fit the usual core voice better and addresses accessibility concerns. Props schlessera. See #41191. Built from https://develop.svn.wordpress.org/trunk@42891 git-svn-id: http://core.svn.wordpress.org/trunk@42721 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 11 ++++------- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index fc54e46619..7a268aba83 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1620,11 +1620,10 @@ function wp_dashboard_php_nag() { $information_url = _x( 'https://wordpress.org/support/upgrade-php/', 'localized PHP upgrade information page' ); - $msg = __( 'Hi, it’s your friends at WordPress here.' ); if ( ! $response['is_secure'] ) { - $msg .= ' ' . __( 'We noticed that your site is running on an insecure version of PHP, which is why we’re showing you this notice.' ); + $msg = __( 'WordPress has detected that your site is running on an insecure version of PHP, which is why we’re showing you this notice.' ); } else { - $msg .= ' ' . __( 'We noticed that your site is running on an outdated version of PHP, which is why we’re showing you this notice.' ); + $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP, which is why we’re showing you this notice.' ); } ?> @@ -1634,15 +1633,13 @@ function wp_dashboard_php_nag() {

-

+

-

-

-

+