Docs: Add missing $user_data parameter name to lostpassword_post and lostpassword_errors filter DocBlocks.

Follow-up to [48084].

See #49521, #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@48085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-06-18 20:27:48 +00:00
parent f31a966c9f
commit 901d9c69f9

View File

@ -378,7 +378,7 @@ function retrieve_password() {
* *
* @param WP_Error $errors A WP_Error object containing any errors generated * @param WP_Error $errors A WP_Error object containing any errors generated
* by using invalid credentials. * by using invalid credentials.
* @param WP_User|false WP_User object if found, false if the user does not exist. * @param WP_User|false $user_data WP_User object if found, false if the user does not exist.
*/ */
do_action( 'lostpassword_post', $errors, $user_data ); do_action( 'lostpassword_post', $errors, $user_data );
@ -395,7 +395,7 @@ function retrieve_password() {
* *
* @param WP_Error $errors A WP_Error object containing any errors generated * @param WP_Error $errors A WP_Error object containing any errors generated
* by using invalid credentials. * by using invalid credentials.
* @param WP_User|false WP_User object if found, false if the user does not exist. * @param WP_User|false $user_data WP_User object if found, false if the user does not exist.
*/ */
$errors = apply_filters( 'lostpassword_errors', $errors, $user_data ); $errors = apply_filters( 'lostpassword_errors', $errors, $user_data );