From 9dcb8f97c9613c6925b6957bf4ca76c9a4c5e8ca Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 12 Jan 2023 13:12:44 +0000 Subject: [PATCH] Docs: Correct the type of the `$user_id` parameter in `wp_set_password` action. Follow-up to [6600], [55056]. See #57436. git-svn-id: https://develop.svn.wordpress.org/trunk@55057 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pluggable.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index b3921cddaf..9ea9065584 100644 --- a/src/wp-includes/pluggable.php +++ b/src/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 ); }