[buddypress-trac] [BuddyPress Trac] #5650: bp_after_has_profile_parse_args not working correctly

buddypress-trac noreply at wordpress.org
Sun May 18 07:30:17 UTC 2014


#5650: bp_after_has_profile_parse_args not working correctly
--------------------------+--------------------
 Reporter:  danbp         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.0.1
Component:  Members       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by danbp):

 Solved !
 The error was in bp-xprofile-classes.php:156
 Changed the line to
 $where_sql = $wpdb->prepare( "WHERE g.id NOT IN ({$exclude_groups})",
 $profile_group_id );

 (but a php notice about wpdb::prepare) see #5649

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5650#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list