diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 9bc702c8fc..c32542819c 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -40,7 +40,7 @@ $pass2 = $_POST['pass2']; do_action('check_passwords', array($new_user_login, &$pass1, &$pass2)); if ( '' == $pass1 ) { - if ( '' == $pass2 ) + if ( '' != $pass2 ) die (__("ERROR: you typed your new password only once. Go back to type it twice.")); $updatepassword = ''; } else {