diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php
index fb7068ff11..080100148e 100644
|
|
function wp_dashboard_php_nag() { |
1622 | 1622 | |
1623 | 1623 | $information_url = _x( 'https://wordpress.org/support/upgrade-php/', 'localized PHP upgrade information page' ); |
1624 | 1624 | |
1625 | | $msg = __( 'Hi, it’s your friends at WordPress here.' ); |
1626 | 1625 | if ( ! $response['is_secure'] ) { |
1627 | | $msg .= ' ' . __( 'We noticed that your site is running on an insecure version of PHP, which is why we’re showing you this notice.' ); |
| 1626 | $msg = __( 'WordPress has detected that your site is running on an insecure version of PHP, which is why we’re showing you this notice.' ); |
1628 | 1627 | } else { |
1629 | | $msg .= ' ' . __( 'We noticed that your site is running on an outdated version of PHP, which is why we’re showing you this notice.' ); |
| 1628 | $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP, which is why we’re showing you this notice.' ); |
1630 | 1629 | } |
1631 | 1630 | |
1632 | 1631 | ?> |
… |
… |
function wp_dashboard_php_nag() { |
1642 | 1641 | <a class="button button-primary button-hero" href="<?php echo esc_url( $information_url ); ?>"><?php _e( 'Show me how to upgrade my PHP' ); ?></a> |
1643 | 1642 | </p> |
1644 | 1643 | |
1645 | | <h3><?php _e( 'Thank you for taking the time to read this!' ); ?></h3> |
1646 | | <p><?php _e( 'If you carefully follow the instructions we’ve provided, upgrading shouldn’t take more than a few minutes, and it is generally very safe to do.' ); ?></p> |
1647 | | <p><?php _e( 'Good luck and happy blogging!' ); ?></p> |
| 1644 | <p><?php _e( 'Upgrading usually takes only a few minutes and should be safe if you follow the provided instructions.' ); ?></p> |
1648 | 1645 | <?php |
1649 | 1646 | } |
1650 | 1647 | |