Changeset 20378 for trunk/wp-includes/user.php
- Timestamp:
- 04/06/2012 07:18:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r20239 r20378 260 260 $user = new WP_User( $user ); 261 261 262 if ( ! isset( $user->ID) )262 if ( ! $user->exists() ) 263 263 return false; 264 264 … … 941 941 $user_level = (int) isset($user->user_level) ? $user->user_level : 0; 942 942 943 if ( 0 == $user->ID) {943 if ( ! $user->exists() ) { 944 944 $user_login = $user_email = $user_url = $user_pass_md5 = $user_identity = ''; 945 945 return;
Note: See TracChangeset
for help on using the changeset viewer.