Changeset 56071
- Timestamp:
- 06/27/2023 04:25:18 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r55990 r56071 2031 2031 * 2032 2032 * @type int $ID User ID. If supplied, the user will be updated. 2033 * @type string $user_pass The plain-text user password. 2033 * @type string $user_pass The plain-text user password for new users. 2034 * Hashed password for existing users. 2034 2035 * @type string $user_login The user's login username. 2035 2036 * @type string $user_nicename The URL-friendly user name. … … 2521 2522 } 2522 2523 2524 $userdata_raw = $userdata; 2525 2523 2526 $user_id = isset( $userdata['ID'] ) ? (int) $userdata['ID'] : 0; 2524 2527 if ( ! $user_id ) { … … 2734 2737 } 2735 2738 } 2739 2740 /** 2741 * Fires after the user has been updated and emails have been sent. 2742 * 2743 * @since 6.3.0 2744 * 2745 * @param int $user_id The ID of the user that was just updated. 2746 * @param array $userdata The array of user data that was updated. 2747 * @param array $userdata_raw The unedited array of user data that was updated. 2748 */ 2749 do_action( 'wp_update_user', $user_id, $userdata, $userdata_raw ); 2736 2750 2737 2751 return $user_id;
Note: See TracChangeset
for help on using the changeset viewer.