Changeset 44603
- Timestamp:
- 01/15/2019 06:32:21 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r44602 r44603 1006 1006 * @global string $user_identity The display name of the user 1007 1007 * 1008 * @param int $for_user_id Optional. User ID to set up global data.1009 */ 1010 function setup_userdata( $for_user_id = '') {1008 * @param int $for_user_id Optional. Default 0. User ID to set up global data. 1009 */ 1010 function setup_userdata( $for_user_id = 0 ) { 1011 1011 global $user_login, $userdata, $user_level, $user_ID, $user_email, $user_url, $user_identity; 1012 1012 1013 if ( '' ==$for_user_id ) {1013 if ( ! $for_user_id ) { 1014 1014 $for_user_id = get_current_user_id(); 1015 1015 }
Note: See TracChangeset
for help on using the changeset viewer.