diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 09b48be38a..ec461328f7 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -538,7 +538,14 @@ function wpmu_validate_user_signup( $user_name, $user_email ) { // Check if the email address has been used already. if ( email_exists( $user_email ) ) { - $errors->add( 'user_email', __( 'Sorry, that email address is already used!' ) ); + $errors->add( + 'user_email', + sprintf( + /* translators: %s: Link to the login page. */ + __( 'Error: This email address is already registered. Log in with this address or choose another one.' ), + wp_login_url() + ) + ); } // Has someone already signed up for this username? diff --git a/wp-includes/user.php b/wp-includes/user.php index 49f4f3fa7d..b5a4a3467a 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -3110,7 +3110,14 @@ function register_new_user( $user_login, $user_email ) { $errors->add( 'invalid_email', __( 'Error: The email address isn’t correct.' ) ); $user_email = ''; } elseif ( email_exists( $user_email ) ) { - $errors->add( 'email_exists', __( 'Error: This email is already registered. Please choose another one.' ) ); + $errors->add( + 'email_exists', + sprintf( + /* translators: %s: Link to the login page. */ + __( 'Error: This email address is already registered. Log in with this address or choose another one.' ), + wp_login_url() + ) + ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 27619b54e1..1604d24a37 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52073'; +$wp_version = '5.9-alpha-52074'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.