Changeset 25204 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 09/02/2013 03:24:33 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r25107 r25204 116 116 * 117 117 * @param int $user_id User ID 118 * @return bool|object False on failure, WP_User object on success118 * @return WP_User|bool WP_User object on success, false on failure. 119 119 */ 120 120 function get_userdata( $user_id ) { … … 131 131 * @param string $field The field to retrieve the user with. id | slug | email | login 132 132 * @param int|string $value A value for $field. A user ID, slug, email address, or login name. 133 * @return bool|object False on failure, WP_User object on success133 * @return WP_User|bool WP_User object on success, false on failure. 134 134 */ 135 135 function get_user_by( $field, $value ) { … … 464 464 * @param string $username User's username 465 465 * @param string $password User's password 466 * @return WP_ Error|WP_User WP_User object if login successful, otherwise WP_Error object.466 * @return WP_User|WP_Error WP_User object if login successful, otherwise WP_Error object. 467 467 */ 468 468 function wp_authenticate($username, $password) {
Note: See TracChangeset
for help on using the changeset viewer.