Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/10/2011 08:37:04 PM (9 years ago)
Author:
djpaul
Message:

Update get_user_by_email calls to get_user_by; deprecated in WP 3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-functions.php

    r4971 r5233  
    229229
    230230    // Get the user_id from the comment author email.
    231     $user    = get_user_by_email( $recorded_comment->comment_author_email );
     231    $user    = get_user_by( 'email', $recorded_comment->comment_author_email );
    232232    $user_id = (int)$user->ID;
    233233
Note: See TracChangeset for help on using the changeset viewer.