user_pass_ok now uses md5()
git-svn-id: http://svn.automattic.com/wordpress/trunk@892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
634e9e8988
commit
1a51bec12c
|
@ -115,7 +115,7 @@ function user_pass_ok($user_login,$user_pass) {
|
|||
} else {
|
||||
$userdata = $cache_userdata[$user_login];
|
||||
}
|
||||
return ($user_pass == $userdata->user_pass);
|
||||
return (md5($user_pass) == $userdata->user_pass);
|
||||
}
|
||||
|
||||
function get_currentuserinfo() { // a bit like get_userdata(), on steroids
|
||||
|
|
Loading…
Reference in New Issue