Changeset 5233 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 10/10/2011 08:37:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r4907 r5233 585 585 586 586 // If passed a string and that string returns a user, get the $id 587 else if ( is_string( $user ) && ( $user_by_email = get_user_by _email($user ) ) )587 else if ( is_string( $user ) && ( $user_by_email = get_user_by( 'email', $user ) ) ) 588 588 $id = $user_by_email->ID; 589 589
Note: See TracChangeset
for help on using the changeset viewer.