WordPress.org

Make WordPress Core

Changeset 42891


Ignore:
Timestamp:
04/02/2018 10:14:53 AM (23 months ago)
Author:
flixos90
Message:

General: Improve wording for PHP version nag.

This changeset adjusts the tone of the message to fit the usual core voice better and addresses accessibility concerns.

Props schlessera.
See #41191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r42877 r42891  
    16211621    $information_url = _x( 'https://wordpress.org/support/upgrade-php/', 'localized PHP upgrade information page' );
    16221622
    1623     $msg = __( 'Hi, it’s your friends at WordPress here.' );
    16241623    if ( ! $response['is_secure'] ) {
    1625         $msg .= ' ' . __( 'We noticed 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.' );
    16261625    } else {
    1627         $msg .= ' ' . __( 'We noticed 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.' );
    16281627    }
    16291628
     
    16351634    <p><?php _e( 'If you want to know exactly how PHP works and why it is important, continue reading.' ); ?></p>
    16361635
    1637     <h3><?php _e( 'Okay, how do I update?' ); ?></h3>
     1636    <h3><?php _e( 'How can I upgrade my PHP version?' ); ?></h3>
    16381637    <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&#8217;t.' ); ?></p>
    16391638    <p>
     
    16411640    </p>
    16421641
    1643     <h3><?php _e( 'Thank you for taking the time to read this!' ); ?></h3>
    1644     <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>
    1645     <p><?php _e( 'Good luck and happy blogging!' ); ?></p>
     1642    <p><?php _e( 'Upgrading usually takes only a few minutes and should be safe if you follow the provided instructions.' ); ?></p>
    16461643    <?php
    16471644}
Note: See TracChangeset for help on using the changeset viewer.