diff --git a/src/wp-login.php b/src/wp-login.php index 62ccf019f8..0d906fdd2d 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -1330,8 +1330,6 @@ switch ( $action ) { $errors->add( 'registerdisabled', __( 'User registration is currently not allowed.' ) ); } elseif ( isset( $_GET['checkemail'] ) && 'confirm' === $_GET['checkemail'] ) { $errors->add( 'confirm', __( 'Check your email for the confirmation link.' ), 'message' ); - } elseif ( isset( $_GET['checkemail'] ) && 'newpass' === $_GET['checkemail'] ) { - $errors->add( 'newpass', __( 'Check your email for your new password.' ), 'message' ); } elseif ( isset( $_GET['checkemail'] ) && 'registered' === $_GET['checkemail'] ) { $errors->add( 'registered', __( 'Registration complete. Please check your email.' ), 'message' ); } elseif ( strpos( $redirect_to, 'about.php?updated' ) ) { @@ -1431,7 +1429,7 @@ switch ( $action ) {