Ticket #44094: 44094.patch
File 44094.patch, 522 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/class-wp-user.php
167 167 * @param int $site_id Optional. The site ID to initialize for. 168 168 */ 169 169 public function init( $data, $site_id = '' ) { 170 $this->data = $data;170 $this->data = apply_filters( 'init_user_data', $data, $site_id ); 171 171 $this->ID = (int) $data->ID; 172 172 173 173 $this->for_site( $site_id );