diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
index 19082e73f2..7f0dfc48aa 100644
a
|
b
|
class WP_Site_Health { |
726 | 726 | '<p>%s</p>', |
727 | 727 | sprintf( |
728 | 728 | /* translators: %s: The minimum recommended PHP version. */ |
729 | | __( 'PHP is the programming language used to build and maintain WordPress. Newer versions of PHP are faster and more secure, so staying up to date will help your site’s overall performance and security. The minimum recommended version of PHP is %s.' ), |
| 729 | __( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are created with increased performance in mind, so you may see a positive effect on your site’s performance. The minimum recommended version of PHP is %s.' ), |
730 | 730 | $response ? $response['recommended_version'] : '' |
731 | 731 | ) |
732 | 732 | ), |
diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
index 2f438067da..6102c5265d 100644
a
|
b
|
function wp_dashboard_setup() { |
39 | 39 | $response = wp_check_php_version(); |
40 | 40 | if ( $response && isset( $response['is_acceptable'] ) && ! $response['is_acceptable'] && current_user_can( 'update_php' ) ) { |
41 | 41 | add_filter( 'postbox_classes_dashboard_dashboard_php_nag', 'dashboard_php_nag_class' ); |
42 | | wp_add_dashboard_widget( 'dashboard_php_nag', __( 'PHP Update Required' ), 'wp_dashboard_php_nag' ); |
| 42 | wp_add_dashboard_widget( 'dashboard_php_nag', __( 'PHP Update Recommended' ), 'wp_dashboard_php_nag' ); |
43 | 43 | } |
44 | 44 | |
45 | 45 | // Site Health. |
… |
… |
function wp_dashboard_php_nag() { |
1746 | 1746 | return; |
1747 | 1747 | } |
1748 | 1748 | |
1749 | | if ( isset( $response['is_secure'] ) && ! $response['is_secure'] ) { |
1750 | | $msg = __( 'WordPress has detected that your site is running on an insecure version of PHP.' ); |
1751 | | } else { |
1752 | | $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP.' ); |
1753 | | } |
1754 | | |
| 1749 | $msg = sprintf( |
| 1750 | /* translators: %s: The server PHP version. */ |
| 1751 | __( 'Your site is running an outdated version of PHP (%s), which requires an update.' ), |
| 1752 | PHP_VERSION |
| 1753 | ); |
1755 | 1754 | ?> |
1756 | 1755 | <p><?php echo $msg; ?></p> |
1757 | 1756 | |
1758 | 1757 | <h3><?php _e( 'What is PHP and how does it affect my site?' ); ?></h3> |
1759 | | <p><?php _e( '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.' ); ?></p> |
| 1758 | <p> |
| 1759 | <?php |
| 1760 | printf( |
| 1761 | /* translators: %s: The minimum recommended PHP version. */ |
| 1762 | __( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are created with increased performance in mind, so you may see a positive effect on your site’s performance. The minimum recommended version of PHP is %s.' ), |
| 1763 | $response ? $response['recommended_version'] : '' |
| 1764 | ); |
| 1765 | ?> |
| 1766 | </p> |
1760 | 1767 | |
1761 | 1768 | <p class="button-container"> |
1762 | 1769 | <?php |