Ticket #1393: pluggable-functions.php.diff
| File pluggable-functions.php.diff, 732 bytes (added by markjaquith, 8 years ago) |
|---|
-
pluggable-functions.php
97 97 } else { 98 98 // If the password is already_md5, it has been double hashed. 99 99 // Otherwise, it is plain text. 100 if ( ($already_md5 && $login->user_login == $username &&md5($login->user_pass) == $password) || ($login->user_login == $username && $login->user_pass == md5($password)) ) {100 if ( ($already_md5 && md5($login->user_pass) == $password) || ($login->user_login == $username && $login->user_pass == md5($password)) ) { 101 101 return true; 102 102 } else { 103 103 $error = __('<strong>Error</strong>: Incorrect password.');
