Changeset 41272
- Timestamp:
- 08/19/2017 08:18:21 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r41209 r41272 937 937 * @since 2.0.4 938 938 * 939 * @global string $user_login The user username for logging in940 * @global object$userdata User data.941 * @global int $user_level The level of the user942 * @global int $user_ID The ID of the user943 * @global string $user_email The email address of the user944 * @global string $user_url The url in the user's profile945 * @global string $user_identity The display name of the user939 * @global string $user_login The user username for logging in 940 * @global WP_User $userdata User data. 941 * @global int $user_level The level of the user 942 * @global int $user_ID The ID of the user 943 * @global string $user_email The email address of the user 944 * @global string $user_url The url in the user's profile 945 * @global string $user_identity The display name of the user 946 946 * 947 947 * @param int $for_user_id Optional. User ID to set up global data. … … 1259 1259 * @since 3.0.0 1260 1260 * 1261 * @param object|WP_User $user User object to be cached1261 * @param WP_User $user User object to be cached 1262 1262 * @return bool|null Returns false on failure. 1263 1263 */ … … 1747 1747 * @since 2.0.0 1748 1748 * 1749 * @param int $user_id User ID.1750 * @param object$old_user_data Object containing user's data prior to update.1749 * @param int $user_id User ID. 1750 * @param WP_User $old_user_data Object containing user's data prior to update. 1751 1751 */ 1752 1752 do_action( 'profile_update', $user_id, $old_user_data ); … … 1778 1778 * @see wp_insert_user() For what fields can be set in $userdata. 1779 1779 * 1780 * @param mixed$userdata An array of user data or a user object of type stdClass or WP_User.1780 * @param object|WP_User $userdata An array of user data or a user object of type stdClass or WP_User. 1781 1781 * @return int|WP_Error The updated user's ID or a WP_Error object if the user could not be updated. 1782 1782 */ … … 2283 2283 * @since 2.5.0 2284 2284 * 2285 * @param object$user The user2285 * @param WP_User $user The user 2286 2286 * @param string $new_pass New password for the user in plaintext 2287 2287 */ … … 2305 2305 * @since 4.4.0 2306 2306 * 2307 * @param object$user The user.2308 * @param string $new_pass New user password.2307 * @param WP_User $user The user. 2308 * @param string $new_pass New user password. 2309 2309 */ 2310 2310 do_action( 'after_password_reset', $user, $new_pass );
Note: See TracChangeset
for help on using the changeset viewer.