From 8650885f85fe0936460ddb6e21c6b7344d645a3c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 11 Feb 2020 00:39:11 +0000 Subject: [PATCH] Site Health: Improve the wording for PHP update recommendations. Props Clorith, grafruessel, sathyapulse, wpgurudev, garrett-eclipse, marybaum, xkon, SergeyBiryukov. Fixes #48716. git-svn-id: https://develop.svn.wordpress.org/trunk@47254 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 7041ab3016..46fd08849b 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -706,7 +706,7 @@ class WP_Site_Health { $result = array( 'label' => sprintf( /* translators: %s: The current PHP version. */ - __( 'Your version of PHP (%s) is up to date' ), + __( 'Your site is running the current version of PHP (%s)' ), PHP_VERSION ), 'status' => 'good', @@ -741,7 +741,7 @@ class WP_Site_Health { if ( $response['is_supported'] ) { $result['label'] = sprintf( /* translators: %s: The server PHP version. */ - __( 'Your version of PHP (%s) is out of date' ), + __( 'Your site is running an older version of PHP (%s)' ), PHP_VERSION ); $result['status'] = 'recommended'; @@ -753,7 +753,7 @@ class WP_Site_Health { if ( $response['is_secure'] ) { $result['label'] = sprintf( /* translators: %s: The server PHP version. */ - __( 'Your version of PHP (%s) should be updated' ), + __( 'Your site is running an older version of PHP (%s), which should be updated' ), PHP_VERSION ); $result['status'] = 'recommended'; @@ -764,7 +764,7 @@ class WP_Site_Health { // Anything no longer secure must be updated. $result['label'] = sprintf( /* translators: %s: The server PHP version. */ - __( 'Your version of PHP (%s) requires an update' ), + __( 'Your site is running an outdated version of PHP (%s), which requires an update' ), PHP_VERSION ); $result['status'] = 'critical';