mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Add check_password filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@6648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a99e7c0cee
commit
f21535a6b1
@ -1121,7 +1121,9 @@ function wp_check_password($password, $hash) {
|
|||||||
$wp_hasher = new PasswordHash(8, TRUE);
|
$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;
|
endif;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user