From 239d04cfaeeeffd6e6bb2b59558f97d79b0f7f3d Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Tue, 18 Nov 2014 18:55:01 +0000 Subject: [PATCH] Add missing documentation for the `$password` parameter, passed to the `check_password` hook. Props coffee2code. Fixes #30311. git-svn-id: https://develop.svn.wordpress.org/trunk@30381 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pluggable.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 22c1935e8c..e3a33e735f 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -1947,9 +1947,10 @@ function wp_check_password($password, $hash, $user_id = '') { * * @since 2.5.0 * - * @param bool $check Whether the passwords match. - * @param string $hash The hashed password. - * @param int $user_id User ID. + * @param bool $check Whether the passwords match. + * @param string $password The plaintext password. + * @param string $hash The hashed password. + * @param int $user_id User ID. */ return apply_filters( 'check_password', $check, $password, $hash, $user_id ); }