Skip to content

Commit 84c0b48

Browse files
committed
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
1 parent fc4c1c8 commit 84c0b48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-admin/profile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
do_action('check_passwords', array($user_login, &$pass1, &$pass2));
5757

5858
if ( '' == $pass1 ) {
59-
if ( '' == $pass2 )
59+
if ( '' != $pass2 )
6060
die (__("<strong>ERROR</strong>: you typed your new password only once. Go back to type it twice."));
6161
$updatepassword = "";
6262
} else {

0 commit comments

Comments
 (0)