Changeset 50490 for trunk/src/wp-includes/class-wp-user.php
- Timestamp:
- 03/04/2021 12:12:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r49790 r50490 168 168 */ 169 169 public function init( $data, $site_id = '' ) { 170 if ( ! isset( $data->ID ) ) { 171 $data->ID = 0; 172 } 170 173 $this->data = $data; 171 174 $this->ID = (int) $data->ID;
Note: See TracChangeset
for help on using the changeset viewer.