diff --git wp-admin/includes/dashboard.php wp-admin/includes/dashboard.php
index 7a268ab..262d82a 100644
|
|
function wp_dashboard_php_nag() { |
1621 | 1621 | $information_url = _x( 'https://wordpress.org/support/upgrade-php/', 'localized PHP upgrade information page' ); |
1622 | 1622 | |
1623 | 1623 | if ( ! $response['is_secure'] ) { |
1624 | | $msg = __( 'WordPress has detected that your site is running on an insecure version of PHP, which is why we’re showing you this notice.' ); |
| 1624 | $msg = __( 'WordPress has detected that your site is running on an insecure version of PHP, which is why we’re showing you this notice. Upgrading to a newer version of PHP is safe and only a few minutes.' ); |
1625 | 1625 | } else { |
1626 | | $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP, which is why we’re showing you this notice.' ); |
| 1626 | $msg = __( 'WordPress has detected that your site is running on an outdated version of PHP, which is why we’re showing you this notice. Upgrading to a newer version of PHP is safe and only a few minutes.' ); |
1627 | 1627 | } |
1628 | 1628 | |
1629 | 1629 | ?> |
… |
… |
function wp_dashboard_php_nag() { |
1631 | 1631 | |
1632 | 1632 | <h3><?php _e( 'What is PHP and why should I care?' ); ?></h3> |
1633 | 1633 | <p><?php _e( 'PHP is the programming language that WordPress is built on. Newer versions of PHP are both faster and more secure, so upgrading is better for your site, and better for the people who are building WordPress.' ); ?></p> |
1634 | | <p><?php _e( 'If you want to know exactly how PHP works and why it is important, continue reading.' ); ?></p> |
1635 | 1634 | |
1636 | 1635 | <h3><?php _e( 'How can I upgrade my PHP version?' ); ?></h3> |
1637 | 1636 | <p><?php _e( 'The button below will take you to a page with more details on what PHP is, how to upgrade your PHP version, and what to do if it turns out you can’t.' ); ?></p> |
| 1637 | |
1638 | 1638 | <p> |
1639 | | <a class="button button-primary button-hero" href="<?php echo esc_url( $information_url ); ?>"><?php _e( 'Show me how to upgrade my PHP' ); ?></a> |
| 1639 | <a class="button button-primary button-hero" href="<?php echo esc_url( $information_url ); ?>"><?php _e( 'Show me how to upgrade PHP' ); ?></a> |
1640 | 1640 | </p> |
1641 | 1641 | |
1642 | | <p><?php _e( 'Upgrading usually takes only a few minutes and should be safe if you follow the provided instructions.' ); ?></p> |
1643 | 1642 | <?php |
1644 | 1643 | } |
1645 | 1644 | |