Changeset 50792
- Timestamp:
- 04/27/2021 05:47:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r50790 r50792 93 93 * @since 4.4.0 Added 'ID' as an alias of 'id' for the `$field` parameter. 94 94 * @since 5.8.0 Returns the global `$current_user` if it's the user being fetched. 95 * 96 * @global WP_User $current_user The current user object which holds the user data. 95 97 * 96 98 * @param string $field The field to retrieve the user with. id | ID | slug | email | login.
Note: See TracChangeset
for help on using the changeset viewer.