From 0883db3afb16d87ad11862c0fd4cf68d20d01cd2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 24 Jan 2008 18:36:45 +0000 Subject: [PATCH] Add check_password filter git-svn-id: https://develop.svn.wordpress.org/trunk@6648 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;