Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/26/2009 05:31:43 PM (15 years ago)
Author:
apeatling
Message:

Merging 1.1 branch with trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-classes.php

    r1905 r2055  
    150150            $user_id = $bp->loggedin_user->id;
    151151       
    152         like_escape($filter);
     152        $filter = like_escape( $wpdb->escape( $filter ) );
    153153       
    154154        if ( $limit && $page )
     
    222222        global $wpdb, $bp;
    223223       
    224         like_escape($filter);
     224        $filter = like_escape( $wpdb->escape( $filter ) );
    225225        $usermeta_table = $wpdb->base_prefix . 'usermeta';
    226226        $users_table = $wpdb->base_prefix . 'users';
     
    247247        global $wpdb, $bp;
    248248       
    249         like_escape($filter);
     249        $filter = like_escape( $wpdb->escape( $filter ) );
    250250        $usermeta_table = $wpdb->prefix . 'usermeta';
    251251        $users_table = $wpdb->base_prefix . 'users';
Note: See TracChangeset for help on using the changeset viewer.