From 6d451fb64bb804984f1ee64218547e6ddcb3c5a7 Mon Sep 17 00:00:00 2001 From: johnjamesjacoby Date: Tue, 2 Nov 2021 17:37:57 +0000 Subject: [PATCH] Admin/UI-Copy: reword some "we" usages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changes some admin-area, user-facing text, to better match the guidelines and recommendations set forth in the make/core handbook, specifically: > the word “we” should be avoided (...) unless its made very clear which group is speaking (There are several more usages of "we" that will receive this same scrutiny in future commits/releases.) Props audrasjb, johnbillion, marybaum, peterwilsoncc, sergeybiryukov, shital-patel. Fixes #46057. Built from https://develop.svn.wordpress.org/trunk@51979 git-svn-id: http://core.svn.wordpress.org/trunk@51568 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 14 +++++++------- wp-admin/includes/network.php | 10 +++++----- wp-admin/plugin-editor.php | 2 +- wp-admin/theme-editor.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index c45a2ccc63..20b2f0e469 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -284,7 +284,7 @@ class WP_Site_Health { $result['description'] = sprintf( '

%s

', - __( 'We were unable to check if any new versions of WordPress are available.' ) + __( 'Unable to check if any new versions of WordPress are available.' ) ); $result['actions'] = sprintf( @@ -467,7 +467,7 @@ class WP_Site_Health { ), $unused_plugins ), - __( 'Inactive plugins are tempting targets for attackers. If you’re not going to use a plugin, we recommend you remove it.' ) + __( 'Inactive plugins are tempting targets for attackers. If you’re not going to use a plugin, you should consider removing it.' ) ); $result['actions'] .= sprintf( @@ -634,7 +634,7 @@ class WP_Site_Health { ), sprintf( /* translators: 1: The currently active theme. 2: The active theme's parent theme. */ - __( 'To enhance your site’s security, we recommend you remove any themes you’re not using. You should keep your current theme, %1$s, and %2$s, its parent theme.' ), + __( 'To enhance your site’s security, you should consider removing any themes you’re not using. You should keep your current theme, %1$s, and %2$s, its parent theme.' ), $active_theme->name, $active_theme->parent()->name ) @@ -653,7 +653,7 @@ class WP_Site_Health { ), sprintf( /* translators: 1: The default theme for WordPress. 2: The currently active theme. 3: The active theme's parent theme. */ - __( 'To enhance your site’s security, we recommend you remove any themes you’re not using. You should keep %1$s, the default WordPress theme, %2$s, your current theme, and %3$s, its parent theme.' ), + __( 'To enhance your site’s security, you should consider removing any themes you’re not using. You should keep %1$s, the default WordPress theme, %2$s, your current theme, and %3$s, its parent theme.' ), $default_theme ? $default_theme->name : WP_DEFAULT_THEME, $active_theme->name, $active_theme->parent()->name @@ -679,7 +679,7 @@ class WP_Site_Health { $themes_inactive, $active_theme->name ), - __( 'We recommend removing any unused themes to enhance your site’s security.' ) + __( 'You should consider removing any unused themes to enhance your site’s security.' ) ); } else { $result['description'] .= sprintf( @@ -695,7 +695,7 @@ class WP_Site_Health { $default_theme ? $default_theme->name : WP_DEFAULT_THEME, $active_theme->name ), - __( 'We recommend removing any unused themes to enhance your site’s security.' ) + __( 'You should consider removing any unused themes to enhance your site’s security.' ) ); } } @@ -1200,7 +1200,7 @@ class WP_Site_Health { '

%s

', sprintf( /* translators: 1: The database engine in use (MySQL or MariaDB). 2: Database server recommended version number. */ - __( 'For optimal performance and security reasons, we recommend running %1$s version %2$s or higher. Contact your web hosting company to correct this.' ), + __( 'For optimal performance and security reasons, you should consider running %1$s version %2$s or higher. Contact your web hosting company to correct this.' ), ( $this->is_mariadb ? 'MariaDB' : 'MySQL' ), $this->health_check_mysql_rec_version ) diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php index 5a4add381b..ae3e906fcc 100644 --- a/wp-admin/includes/network.php +++ b/wp-admin/includes/network.php @@ -179,7 +179,7 @@ function network_step1( $errors = false ) { } ?>

-

+

' . substr( $hostname, 4 ) . '', '' . $hostname . '', 'www' @@ -444,7 +444,7 @@ function network_step2( $errors = false ) { echo '' . __( 'Caution:' ) . ' '; printf( /* translators: 1: wp-config.php, 2: .htaccess */ - __( 'We recommend you back up your existing %1$s and %2$s files.' ), + __( 'You should back up your existing %1$s and %2$s files.' ), 'wp-config.php', '.htaccess' ); @@ -452,7 +452,7 @@ function network_step2( $errors = false ) { echo '' . __( 'Caution:' ) . ' '; printf( /* translators: 1: wp-config.php, 2: web.config */ - __( 'We recommend you back up your existing %1$s and %2$s files.' ), + __( 'You should back up your existing %1$s and %2$s files.' ), 'wp-config.php', 'web.config' ); @@ -460,7 +460,7 @@ function network_step2( $errors = false ) { echo '' . __( 'Caution:' ) . ' '; printf( /* translators: %s: wp-config.php */ - __( 'We recommend you back up your existing %s file.' ), + __( 'You should back up your existing %s file.' ), 'wp-config.php' ); } diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 800e468f3f..82d9cc5aff 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -326,7 +326,7 @@ if ( ! in_array( 'plugin_editor_notice', $dismissed_pointers, true ) ) :

-

+

diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 46926df87c..68228edc40 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -359,7 +359,7 @@ if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) :