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
This commit is contained in:
parent
a95d33f55a
commit
239d04cfae
@ -1947,9 +1947,10 @@ function wp_check_password($password, $hash, $user_id = '') {
|
|||||||
*
|
*
|
||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
*
|
*
|
||||||
* @param bool $check Whether the passwords match.
|
* @param bool $check Whether the passwords match.
|
||||||
* @param string $hash The hashed password.
|
* @param string $password The plaintext password.
|
||||||
* @param int $user_id User ID.
|
* @param string $hash The hashed password.
|
||||||
|
* @param int $user_id User ID.
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'check_password', $check, $password, $hash, $user_id );
|
return apply_filters( 'check_password', $check, $password, $hash, $user_id );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user