From ce09e3c87ba300e4ca20f8d474a40e6a4bf4b7d6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 3 Jul 2020 21:57:51 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@48287 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 8 ++++---- src/wp-admin/update-core.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 801707d2f0..2b48212d32 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -215,7 +215,7 @@ class WP_Site_Health { * It's possible to block updates with the `wp_version_check` filter, but this can't be checked * during an Ajax call, as the filter is never introduced then. * - * This filter overrides a normal page request if it's made by an admin through the Ajax call + * This filter overrides a standard page request if it's made by an admin through the Ajax call * with the right query argument to check for this. * * @since 5.2.0 @@ -692,7 +692,7 @@ class WP_Site_Health { $result['description'] .= sprintf( '

%s

', - __( 'Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your normal theme.' ) + __( 'Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your chosen theme.' ) ); } @@ -981,7 +981,7 @@ class WP_Site_Health { // If this module is a fallback for another function, check if that other function passed. if ( isset( $module['fallback_for'] ) ) { /* - * If that other function has a failure, mark this module as required for normal operations. + * If that other function has a failure, mark this module as required for usual operations. * If that other function hasn't failed, skip this test as it's only a fallback. */ if ( isset( $failures[ $module['fallback_for'] ] ) ) { @@ -1453,7 +1453,7 @@ class WP_Site_Health { '

%s

', sprintf( /* translators: %s: WP_DEBUG_LOG */ - __( 'The value, %s, has been added to this website’s configuration file. This means any errors on the site will be written to a file which is potentially available to normal users.' ), + __( 'The value, %s, has been added to this website’s configuration file. This means any errors on the site will be written to a file which is potentially available to all users.' ), 'WP_DEBUG_LOG' ) ); diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 84547f9ed2..57b1619150 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -274,7 +274,7 @@ function core_upgrade_preamble() { echo ''; // Don't show the maintenance mode notice when we are only showing a single re-install option. if ( $updates && ( count( $updates ) > 1 || 'latest' !== $updates[0]->response ) ) { - echo '

' . __( '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.' ) . '

'; + echo '

' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, this mode will be deactivated.' ) . '

'; } elseif ( ! $updates ) { list( $normalized_version ) = explode( '-', $wp_version ); echo '

' . sprintf(