Make WordPress Core

Ticket #41191: 41191.rewording.diff

File 41191.rewording.diff, 1.7 KB (added by schlessera, 7 years ago)

Change the copy to better fit the WP voice

  • src/wp-admin/includes/dashboard.php

    diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php
    index fb7068ff11..080100148e 100644
    function wp_dashboard_php_nag() { 
    16221622
    16231623        $information_url = _x( 'https://wordpress.org/support/upgrade-php/', 'localized PHP upgrade information page' );
    16241624
    1625         $msg = __( 'Hi, it’s your friends at WordPress here.' );
    16261625        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.' );
    16281627        } 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.' );
    16301629        }
    16311630
    16321631        ?>
    function wp_dashboard_php_nag() { 
    16421641                <a class="button button-primary button-hero" href="<?php echo esc_url( $information_url ); ?>"><?php _e( 'Show me how to upgrade my PHP' ); ?></a>
    16431642        </p>
    16441643
    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&#8217;ve provided, upgrading shouldn&#8217;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>
    16481645        <?php
    16491646}
    16501647