IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 931 | 931 | * |
| 932 | 932 | * @since 2.0.4 |
| 933 | 933 | * |
| 934 | | * @global string $user_login The user username for logging in |
| 935 | | * @global object $userdata User data. |
| 936 | | * @global int $user_level The level of the user |
| 937 | | * @global int $user_ID The ID of the user |
| 938 | | * @global string $user_email The email address of the user |
| 939 | | * @global string $user_url The url in the user's profile |
| 940 | | * @global string $user_identity The display name of the user |
| | 934 | * @global string $user_login The user username for logging in |
| | 935 | * @global WP_User $userdata User data. |
| | 936 | * @global int $user_level The level of the user |
| | 937 | * @global int $user_ID The ID of the user |
| | 938 | * @global string $user_email The email address of the user |
| | 939 | * @global string $user_url The url in the user's profile |
| | 940 | * @global string $user_identity The display name of the user |
| 941 | 941 | * |
| 942 | 942 | * @param int $for_user_id Optional. User ID to set up global data. |
| 943 | 943 | */ |
| … |
… |
|
| 1253 | 1253 | * |
| 1254 | 1254 | * @since 3.0.0 |
| 1255 | 1255 | * |
| 1256 | | * @param object|WP_User $user User object to be cached |
| | 1256 | * @param WP_User $user User object to be cached |
| 1257 | 1257 | * @return bool|null Returns false on failure. |
| 1258 | 1258 | */ |
| 1259 | 1259 | function update_user_caches( $user ) { |
| … |
… |
|
| 1702 | 1702 | * |
| 1703 | 1703 | * @since 2.0.0 |
| 1704 | 1704 | * |
| 1705 | | * @param int $user_id User ID. |
| 1706 | | * @param object $old_user_data Object containing user's data prior to update. |
| | 1705 | * @param int $user_id User ID. |
| | 1706 | * @param WP_User $old_user_data Object containing user's data prior to update. |
| 1707 | 1707 | */ |
| 1708 | 1708 | do_action( 'profile_update', $user_id, $old_user_data ); |
| 1709 | 1709 | } else { |
| … |
… |
|
| 1733 | 1733 | * |
| 1734 | 1734 | * @see wp_insert_user() For what fields can be set in $userdata. |
| 1735 | 1735 | * |
| 1736 | | * @param mixed $userdata An array of user data or a user object of type stdClass or WP_User. |
| | 1736 | * @param object|WP_User $userdata An array of user data or a user object of type stdClass or WP_User. |
| 1737 | 1737 | * @return int|WP_Error The updated user's ID or a WP_Error object if the user could not be updated. |
| 1738 | 1738 | */ |
| 1739 | 1739 | function wp_update_user($userdata) { |
| … |
… |
|
| 2236 | 2236 | * |
| 2237 | 2237 | * @since 2.5.0 |
| 2238 | 2238 | * |
| 2239 | | * @param object $user The user |
| | 2239 | * @param WP_User $user The user |
| 2240 | 2240 | * @param string $new_pass New password for the user in plaintext |
| 2241 | 2241 | */ |
| 2242 | 2242 | function reset_password( $user, $new_pass ) { |
| … |
… |
|
| 2258 | 2258 | * |
| 2259 | 2259 | * @since 4.4.0 |
| 2260 | 2260 | * |
| 2261 | | * @param object $user The user. |
| 2262 | | * @param string $new_pass New user password. |
| | 2261 | * @param WP_User $user The user. |
| | 2262 | * @param string $new_pass New user password. |
| 2263 | 2263 | */ |
| 2264 | 2264 | do_action( 'after_password_reset', $user, $new_pass ); |
| 2265 | 2265 | } |