From 821ca1e93c41035ce948e5d7e7bf793e678f0d43 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 25 Mar 2015 16:23:15 +0000 Subject: [PATCH] Ensure the `$wp_hasher` global has an entry in the `check_password_reset_key()` DocBlock. Props lamosty. Fixes #31756. git-svn-id: https://develop.svn.wordpress.org/trunk@31883 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 6b6f43599f..3a03ea0425 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -2233,7 +2233,8 @@ function wp_get_password_hint() { * hashing process. This field is now hashed; old values are no longer accepted * but have a different WP_Error code so good user feedback can be provided. * - * @global wpdb $wpdb WordPress database object for queries. + * @global wpdb $wpdb WordPress database object for queries. + * @global PasswordHash $wp_hasher Portable PHP password hashing framework instance. * * @param string $key Hash to validate sending user's password. * @param string $login The user login.