Add check_password filter

git-svn-id: http://svn.automattic.com/wordpress/trunk@6648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-01-24 18:36:45 +00:00
parent a99e7c0cee
commit f21535a6b1

View File

@ -1121,7 +1121,9 @@ function wp_check_password($password, $hash) {
$wp_hasher = new PasswordHash(8, TRUE);
}
return $wp_hasher->CheckPassword($password, $hash);
$check = $wp_hasher->CheckPassword($password, $hash);
return apply_filters('check_password', $check, $password, $hash);
}
endif;