From f7648300c837266d459900f788805badb2883d2e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 18 Nov 2014 18:56:21 +0000 Subject: [PATCH] Add missing documentation for the `$password` parameter, passed to the `check_password` hook. Props coffee2code. Fixes #30311. Built from https://develop.svn.wordpress.org/trunk@30381 git-svn-id: http://core.svn.wordpress.org/trunk@30378 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 22c1935e8c..e3a33e735f 100644 --- a/wp-includes/pluggable.php +++ b/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 ); }