Make WordPress Core

Changeset 55057


Ignore:
Timestamp:
01/12/2023 01:12:44 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the type of the $user_id parameter in wp_set_password action.

Follow-up to [6600], [55056].

See #57436.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r55056 r55057  
    27432743
    27442744        /**
    2745          * Fires after the password is set.
     2745         * Fires after the user password is set.
    27462746         *
    27472747         * @since 6.2.0
    27482748         *
    2749          * @param string $password The plain text password just set.
    2750          * @param mixed  $user_id  The ID of the user whose password was just set.
     2749         * @param string $password The plaintext password just set.
     2750         * @param int    $user_id  The ID of the user whose password was just set.
    27512751         */
    27522752        do_action( 'wp_set_password', $password, $user_id );
Note: See TracChangeset for help on using the changeset viewer.