From 055af2b506a9a031f301c89cde62324b7c76684d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 11 Feb 2020 00:41:05 +0000 Subject: [PATCH] Site Health: Improve the wording for PHP update recommendations. Props Clorith, grafruessel, sathyapulse, wpgurudev, garrett-eclipse, marybaum, xkon, SergeyBiryukov. Fixes #48716. Built from https://develop.svn.wordpress.org/trunk@47254 git-svn-id: http://core.svn.wordpress.org/trunk@47054 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index 7041ab3016..46fd08849b 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/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'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 98a459af98..9c8c0627a0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47253'; +$wp_version = '5.4-alpha-47254'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.