Ticket #20043: 20043.2.patch
File 20043.2.patch, 517 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/class-wp-user.php
348 348 $key = 'ID'; 349 349 } 350 350 351 $unset_blacklist = array( 352 'ID' => 0, 353 ); 354 if ( array_key_exists( $key, $unset_blacklist ) ) { 355 $this->data->$key = $unset_blacklist[ $key ]; 356 return; 357 } 358 351 359 if ( isset( $this->data->$key ) ) { 352 360 unset( $this->data->$key ); 353 361 }