From 10ad5f0d4d0d143e2d4fbe56f40b630a5d748aa2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 12 Jan 2023 13:14:15 +0000 Subject: [PATCH] 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 --- wp-includes/pluggable.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index b3921cddaf..9ea9065584 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index b29e1cbe57..e34d45c740 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.