Changeset 34390
- Timestamp:
- 09/22/2015 10:06:56 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r34389 r34390 336 336 337 337 /** 338 * Magic method for unsetting a certain custom field 338 * Magic method for unsetting a certain custom field. 339 339 * 340 340 * @since 4.4.0 341 */ 342 function __unset( $key ) { 341 * @access public 342 * 343 * @param string $key User meta key to unset. 344 */ 345 public function __unset( $key ) { 343 346 if ( 'id' == $key ) { 344 347 _deprecated_argument( 'WP_User->id', '2.1', __( 'Use <code>WP_User->ID</code> instead.' ) );
Note: See TracChangeset
for help on using the changeset viewer.