diff --git a/wp-includes/user.php b/wp-includes/user.php index e0cfae9188..96f9edfe04 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -2130,7 +2130,7 @@ function wp_insert_user( $userdata ) { // Username must not match an existing user email. if ( email_exists( $user_login ) ) { - return new WP_Error( 'existing_user_login_as_email', __( 'Sorry, that username is not available.' ) ); + return new WP_Error( 'existing_user_email_as_login', __( 'Sorry, that username is not available.' ) ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index c863cfda08..32b3cd1b5f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta2-55359'; +$wp_version = '6.2-beta2-55360'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.