Changeset 20532 for trunk/wp-includes/user.php
- Timestamp:
- 04/19/2012 11:51:27 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r20522 r20532 1144 1144 * @since 3.0.0 1145 1145 * 1146 * @param WP_User $user User objectto be cleaned from the cache1146 * @param WP_User|int $user User object or ID to be cleaned from the cache 1147 1147 */ 1148 1148 function clean_user_cache( $user ) { 1149 if ( is_numeric( $user ) ) { 1150 _deprecated_argument( __FUNCTION__, '3.4', 'Pass the full user object instead of the ID.' ); 1149 if ( is_numeric( $user ) ) 1151 1150 $user = new WP_User( $user ); 1152 }1153 1151 1154 1152 if ( ! $user->exists() )
Note: See TracChangeset
for help on using the changeset viewer.