mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Administration: Replace contracted verb forms for better consistency.
This changeset replaces contracted verb forms like `doesn't`, `can't`, or `isn't` with non-contracted forms like `does not`, `cannot`, or `is not`, for better consistency across the WordPress administration. It also updates some corresponding unit tests strings. Props Presskopp, socalchristina, aandrewdixon, francina, SergeyBiryukov, JeffPaul, audrasjb, hellofromTonya. Fixes #38913. See #39176. git-svn-id: https://develop.svn.wordpress.org/trunk@52978 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3177,7 +3177,7 @@ function register_new_user( $user_login, $user_email ) {
|
||||
if ( '' === $user_email ) {
|
||||
$errors->add( 'empty_email', __( '<strong>Error</strong>: Please type your email address.' ) );
|
||||
} elseif ( ! is_email( $user_email ) ) {
|
||||
$errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address isn’t correct.' ) );
|
||||
$errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address is not correct.' ) );
|
||||
$user_email = '';
|
||||
} elseif ( email_exists( $user_email ) ) {
|
||||
$errors->add(
|
||||
@@ -3232,7 +3232,7 @@ function register_new_user( $user_login, $user_email ) {
|
||||
'registerfail',
|
||||
sprintf(
|
||||
/* translators: %s: Admin email address. */
|
||||
__( '<strong>Error</strong>: Couldn’t register you… please contact the <a href="mailto:%s">site admin</a>!' ),
|
||||
__( '<strong>Error</strong>: Could not register you… please contact the <a href="mailto:%s">site admin</a>!' ),
|
||||
get_option( 'admin_email' )
|
||||
)
|
||||
);
|
||||
@@ -3475,7 +3475,7 @@ function send_confirmation_on_profile_email() {
|
||||
if ( ! is_email( $_POST['email'] ) ) {
|
||||
$errors->add(
|
||||
'user_email',
|
||||
__( '<strong>Error</strong>: The email address isn’t correct.' ),
|
||||
__( '<strong>Error</strong>: The email address is not correct.' ),
|
||||
array(
|
||||
'form-field' => 'email',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user