Changeset 18515
- Timestamp:
- 08/05/2011 08:54:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r18513 r18515 463 463 */ 464 464 function __isset( $key ) { 465 if ( 'id' == $key ) { 466 _deprecated_argument( 'WP_User->id', '2.1', __( 'Use <code>WP_User->ID</code> instead.' ) ); 467 $key = 'ID'; 468 } 465 469 return isset( $this->data->$key ); 466 470 }
Note: See TracChangeset
for help on using the changeset viewer.