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
|
b
|
|
1861 | 1861 | * An array, object, or WP_User object of user data arguments. |
1862 | 1862 | * |
1863 | 1863 | * @type int $ID User ID. If supplied, the user will be updated. |
1864 | | * @type string $user_pass The plain-text user password. |
| 1864 | * @type string $user_pass The plain-text user password for new users. |
| 1865 | * Hashed password for existing users. |
1865 | 1866 | * @type string $user_login The user's login username. |
1866 | 1867 | * @type string $user_nicename The URL-friendly user name. |
1867 | 1868 | * @type string $user_url The user URL. |
… |
… |
|
2342 | 2343 | $userdata = $userdata->to_array(); |
2343 | 2344 | } |
2344 | 2345 | |
| 2346 | $userdata_raw = $userdata; |
| 2347 | |
2345 | 2348 | $user_id = isset( $userdata['ID'] ) ? (int) $userdata['ID'] : 0; |
2346 | 2349 | if ( ! $user_id ) { |
2347 | 2350 | return new WP_Error( 'invalid_user_id', __( 'Invalid user ID.' ) ); |
… |
… |
|
2556 | 2559 | } |
2557 | 2560 | } |
2558 | 2561 | |
| 2562 | /** |
| 2563 | * Fires after the user has been updated and emails have been sent. |
| 2564 | * |
| 2565 | * @since 6.2.0 |
| 2566 | * |
| 2567 | * @param int $user_id The ID of the user that was just updated. |
| 2568 | * @param array $userdata The array of user data that was updated. |
| 2569 | * @param array $userdata_raw The unedited array of user data that was updated. |
| 2570 | */ |
| 2571 | do_action( 'wp_update_user', $user_id, $userdata, $userdata_raw ); |
| 2572 | |
2559 | 2573 | return $user_id; |
2560 | 2574 | } |
2561 | 2575 | |