Make WordPress Core

Changeset 48085


Ignore:
Timestamp:
06/18/2020 08:27:48 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [48084].

See #49521, #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r48084 r48085  
    377377     * @since 5.4.0 Added the `$user_data` parameter.
    378378     *
    379      * @param WP_Error $errors A WP_Error object containing any errors generated
    380      *                         by using invalid credentials.
    381      * @param WP_User|false   WP_User object if found, false if the user does not exist.
     379     * @param WP_Error      $errors    A WP_Error object containing any errors generated
     380     *                                 by using invalid credentials.
     381     * @param WP_User|false $user_data WP_User object if found, false if the user does not exist.
    382382     */
    383383    do_action( 'lostpassword_post', $errors, $user_data );
     
    394394     * @since 5.5.0
    395395     *
    396      * @param WP_Error $errors A WP_Error object containing any errors generated
    397      *                         by using invalid credentials.
    398      * @param WP_User|false   WP_User object if found, false if the user does not exist.
     396     * @param WP_Error      $errors    A WP_Error object containing any errors generated
     397     *                                 by using invalid credentials.
     398     * @param WP_User|false $user_data WP_User object if found, false if the user does not exist.
    399399     */
    400400    $errors = apply_filters( 'lostpassword_errors', $errors, $user_data );
Note: See TracChangeset for help on using the changeset viewer.