Changeset 15329
- Timestamp:
- 06/25/2010 03:12:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-includes/ms-deprecated.php
r15174 r15329 49 49 return false; 50 50 } else { 51 $user = new WP_User( null, $user_login);52 if ( empty( $user-> id) )51 $user = get_user_by( 'login', $user_login ); 52 if ( empty( $user->ID ) ) 53 53 return false; 54 $user_id = $user-> id;54 $user_id = $user->ID; 55 55 } 56 56
Note: See TracChangeset
for help on using the changeset viewer.