From c78101d4329dc49ccdb764c25c6cee04110b35f2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 30 Jul 2024 12:25:16 +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. Built from https://develop.svn.wordpress.org/trunk@58832 git-svn-id: http://core.svn.wordpress.org/trunk@58228 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index 12ca7f7a9a..cd6fb0d7db 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/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', diff --git a/wp-includes/version.php b/wp-includes/version.php index ded115eac3..2830d87a81 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58831'; +$wp_version = '6.7-alpha-58832'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.