Make WordPress Core

Changeset 48287


Ignore:
Timestamp:
07/03/2020 09:57:51 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Remove use of "normal" in user-facing output.

This clarifies some messages referring to Site Health checks and maintenance mode, and makes them more accurate.

Props dartiss.
Fixes #50549.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r48198 r48287  
    216216         * during an Ajax call, as the filter is never introduced then.
    217217         *
    218          * This filter overrides a normal page request if it's made by an admin through the Ajax call
     218         * This filter overrides a standard page request if it's made by an admin through the Ajax call
    219219         * with the right query argument to check for this.
    220220         *
    … …  
    693693                        $result['description'] .= sprintf(
    694694                                '<p>%s</p>',
    695                                 __( 'Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your normal theme.' )
     695                                __( 'Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your chosen theme.' )
    696696                        );
    697697                }
    … …  
    982982                        if ( isset( $module['fallback_for'] ) ) {
    983983                                /*
    984                                  * If that other function has a failure, mark this module as required for normal operations.
     984                                 * If that other function has a failure, mark this module as required for usual operations.
    985985                                 * If that other function hasn't failed, skip this test as it's only a fallback.
    986986                                 */
    … …  
    14541454                                        sprintf(
    14551455                                                /* translators: %s: WP_DEBUG_LOG */
    1456                                                 __( 'The value, %s, has been added to this website&#8217;s configuration file. This means any errors on the site will be written to a file which is potentially available to normal users.' ),
     1456                                                __( 'The value, %s, has been added to this website&#8217;s configuration file. This means any errors on the site will be written to a file which is potentially available to all users.' ),
    14571457                                                '<code>WP_DEBUG_LOG</code>'
    14581458                                        )
  • trunk/src/wp-admin/update-core.php

    r48172 r48287  
    275275        // Don't show the maintenance mode notice when we are only showing a single re-install option.
    276276        if ( $updates && ( count( $updates ) > 1 || 'latest' !== $updates[0]->response ) ) {
    277                 echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '</p>';
     277                echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, this mode will be deactivated.' ) . '</p>';
    278278        } elseif ( ! $updates ) {
    279279                list( $normalized_version ) = explode( '-', $wp_version );
Note: See TracChangeset for help on using the changeset viewer.