From f21535a6b1f8f974a661b22c869337ba92be05c0 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 24 Jan 2008 18:36:45 +0000 Subject: [PATCH] Add check_password filter git-svn-id: http://svn.automattic.com/wordpress/trunk@6648 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 4b4e0e0dc8..85b2a4e7c6 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -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;