Index: src/wp-admin/includes/class-wp-site-health.php =================================================================== --- src/wp-admin/includes/class-wp-site-health.php (revision 45604) +++ src/wp-admin/includes/class-wp-site-health.php (working copy) @@ -639,7 +639,7 @@ $result = array( 'label' => sprintf( // translators: %s: The current PHP version. - __( 'PHP is up to date (%s)' ), + __( 'Your version of PHP is up to date (%s)' ), PHP_VERSION ), 'status' => 'good', @@ -649,7 +649,11 @@ ), 'description' => sprintf( '
%s
', - __( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are both faster and more secure, so updating will have a positive effect on your site’s performance.' ) + sprintf( + // translators: %s: The minimum recommended PHP version + __( 'PHP is the programming language used to power WordPress. Newer versions of PHP are both faster and more secure, so staying up to date will have a positive effect on your site’s overall performance. The minimum recommended version of PHP is %s.' ), + $response['recommended_version'] + ) ), 'actions' => sprintf( '', @@ -666,9 +670,13 @@ return $result; } - // The PHP version is older than the recommended version, but still acceptable. + // The PHP version is older than the recommended version, but still recieving active support. if ( $response['is_supported'] ) { - $result['label'] = __( 'We recommend that you update PHP' ); + $result['label'] = sprintf( + // translators: %s: The server PHP version. + __( 'We recommend your version of PHP be updated (%s)' ), + PHP_VERSION + ); $result['status'] = 'recommended'; return $result; @@ -676,14 +684,22 @@ // The PHP version is only receiving security fixes. if ( $response['is_secure'] ) { - $result['label'] = __( 'Your PHP version should be updated' ); + $result['label'] = sprintf( + // translators: %s: The server PHP version. + __( 'Your version of PHP should be updated (%s)' ), + PHP_VERSION + ); $result['status'] = 'recommended'; return $result; } // Anything no longer secure must be updated. - $result['label'] = __( 'Your PHP version requires an update' ); + $result['label'] = sprintf( + // translators: %s: The server PHP version. + __( 'Your version of PHP requires an update (%s)' ), + PHP_VERSION + ); $result['status'] = 'critical'; $result['badge']['label'] = __( 'Security' );