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
This commit is contained in:
Sergey Biryukov 2020-02-11 00:41:05 +00:00
parent ca3366926a
commit 055af2b506
2 changed files with 5 additions and 5 deletions

View File

@ -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';

View File

@ -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.