Add check_password filter

git-svn-id: https://develop.svn.wordpress.org/trunk@6648 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-01-24 18:36:45 +00:00
parent b58ed9e123
commit 0883db3afb
1 changed files with 3 additions and 1 deletions

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;