Skip to:
Content

Changeset 6533


Ignore:
Timestamp:
11/20/12 11:35:13 (17 months ago)
Author:
djpaul
Message:

Fix a prepare() warning when filtering comments. See #4654

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r6485 r6533  
    133133    $user_ids = implode( ',', $user_ids ); 
    134134 
    135     if ( !$userdata = $wpdb->get_results( $wpdb->prepare( "SELECT ID as user_id, user_login, user_nicename FROM {$wpdb->users} WHERE ID IN ({$user_ids})" ) ) ) 
     135    if ( !$userdata = $wpdb->get_results( "SELECT ID as user_id, user_login, user_nicename FROM {$wpdb->users} WHERE ID IN ({$user_ids})" ) ) 
    136136        return $comments; 
    137137 
Note: See TracChangeset for help on using the changeset viewer.