Changeset 18506
- Timestamp:
- 08/04/2011 03:42:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r18504 r18506 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 }
Note: See TracChangeset
for help on using the changeset viewer.