Fix to go with xmlrpc update to use ezSQL.

git-svn-id: https://develop.svn.wordpress.org/trunk@203 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-06-11 10:08:44 +00:00
parent ad01134511
commit 3122ba26c7

View File

@ -406,7 +406,7 @@ function user_pass_ok($user_login,$user_pass) {
} else {
$userdata = $cache_userdata[$user_login];
}
return ($user_pass == $userdata['user_pass']);
return ($user_pass == $userdata->user_pass);
}
function get_currentuserinfo() { // a bit like get_userdata(), on steroids