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

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

See #57436.
Built from https://develop.svn.wordpress.org/trunk@55057


git-svn-id: http://core.svn.wordpress.org/trunk@54590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-01-12 13:14:15 +00:00
parent 00ed89ffb1
commit 10ad5f0d4d
2 changed files with 4 additions and 4 deletions

View File

@ -2742,12 +2742,12 @@ if ( ! function_exists( 'wp_set_password' ) ) :
clean_user_cache( $user_id );
/**
* Fires after the password is set.
* Fires after the user password is set.
*
* @since 6.2.0
*
* @param string $password The plain text password just set.
* @param mixed $user_id The ID of the user whose password was just set.
* @param string $password The plaintext password just set.
* @param int $user_id The ID of the user whose password was just set.
*/
do_action( 'wp_set_password', $password, $user_id );
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-55056';
$wp_version = '6.2-alpha-55057';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.