Do not require password update when changing profile. http://mosquito.wordpress.org/view.php?id=1101 Props: idanso
git-svn-id: https://develop.svn.wordpress.org/trunk@2439 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fc4c1c8bfe
commit
84c0b48441
@ -56,7 +56,7 @@ case 'update':
|
||||
do_action('check_passwords', array($user_login, &$pass1, &$pass2));
|
||||
|
||||
if ( '' == $pass1 ) {
|
||||
if ( '' == $pass2 )
|
||||
if ( '' != $pass2 )
|
||||
die (__("<strong>ERROR</strong>: you typed your new password only once. Go back to type it twice."));
|
||||
$updatepassword = "";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user