Ticket #15458: set.15458.diff
File set.15458.diff, 484 bytes (added by , 13 years ago) |
---|
-
wp-includes/capabilities.php
507 507 * @since 3.3.0 508 508 */ 509 509 function __set( $key, $value ) { 510 if ( 'id' == $key ) { 511 _deprecated_argument( 'WP_User->id', '2.1', __( 'Use <code>WP_User->ID</code> instead.' ) ); 512 $this->ID = $value; 513 return; 514 } 515 510 516 $this->data->$key = $value; 511 517 } 512 518