Index: wp-includes/user.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/wp-includes/user.php b/wp-includes/user.php
--- a/wp-includes/user.php	
+++ b/wp-includes/user.php	(date 1677722912401)
@@ -1861,7 +1861,8 @@
  *     An array, object, or WP_User object of user data arguments.
  *
  *     @type int    $ID                   User ID. If supplied, the user will be updated.
- *     @type string $user_pass            The plain-text user password.
+ *     @type string $user_pass            The plain-text user password for new users.
+ *                                        Hashed password for existing users.
  *     @type string $user_login           The user's login username.
  *     @type string $user_nicename        The URL-friendly user name.
  *     @type string $user_url             The user URL.
@@ -2342,6 +2343,8 @@
 		$userdata = $userdata->to_array();
 	}
 
+	$userdata_raw = $userdata;
+
 	$user_id = isset( $userdata['ID'] ) ? (int) $userdata['ID'] : 0;
 	if ( ! $user_id ) {
 		return new WP_Error( 'invalid_user_id', __( 'Invalid user ID.' ) );
@@ -2556,6 +2559,17 @@
 		}
 	}
 
+	/**
+	 * Fires after the user has been updated and emails have been sent.
+	 *
+	 * @param int   $user_id      The plain text password just set.
+	 * @param array $userdata     The array of user data that was updated.
+	 * @param array $userdata_raw The unedited array of user data that was updated.
+	 *
+	 * @since 6.2.0
+	 */
+	do_action( 'wp_update_user', $user_id, $userdata, $userdata_raw );
+
 	return $user_id;
 }
 
