Add check_password filter
git-svn-id: https://develop.svn.wordpress.org/trunk@6648 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b58ed9e123
commit
0883db3afb
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue