Changeset 34466
- Timestamp:
- 09/24/2015 12:48:23 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r34412 r34466 346 346 if ( 'id' == $key ) { 347 347 _deprecated_argument( 'WP_User->id', '2.1', __( 'Use <code>WP_User->ID</code> instead.' ) ); 348 $key = 'ID';349 348 } 350 349 -
trunk/tests/phpunit/tests/user.php
r34380 r34466 200 200 $this->assertNotEmpty( $user->ID ); 201 201 unset( $user->ID ); 202 $this->assert Empty( $user->ID );202 $this->assertNotEmpty( $user->ID ); 203 203 } 204 204
Note: See TracChangeset
for help on using the changeset viewer.