From a16d9eea5445126582476b608ace91f8efd58eb8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 30 Jul 2024 12:23:06 +0000 Subject: [PATCH] Site Health: Improve the wording for PHP version check. This aims to make the message more accurate by referring to the version of PHP currently recommended by WordPress, not the current version of PHP. Follow-up to [44986], [46267], [47254]. Props swb1192, psykro, swissspidy, joemcgill, mukesh27, aristath. See #61623. git-svn-id: https://develop.svn.wordpress.org/trunk@58832 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 12ca7f7a9a..cd6fb0d7db 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -728,8 +728,8 @@ class WP_Site_Health { $result = array( 'label' => sprintf( - /* translators: %s: The current PHP version. */ - __( 'Your site is running the current version of PHP (%s)' ), + /* translators: %s: The recommended PHP version. */ + __( 'Your site is running a recommended version of PHP (%s)' ), PHP_VERSION ), 'status' => 'good',