[buddypress-trac] [BuddyPress Trac] #6352: Add parameter to differentiate filter values with bp_core_get_specific_users_count_sql

buddypress-trac noreply at wordpress.org
Mon Apr 6 12:16:08 UTC 2015


#6352: Add parameter to differentiate filter values with
bp_core_get_specific_users_count_sql
------------------------------+---------------------------
 Reporter:  tw2113            |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  2.3
Component:  Component - Core  |     Version:  1.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+---------------------------

Comment (by johnjamesjacoby):

 Curious what the difference is between passing a string as a parameter, or
 passing a variable? Obviously we pass tons of variables through filters
 hundreds of times per page load.

 The patched solution maintains backwards compatibility with existing
 installations, using the filter API to allow manual forking of the filter
 logic in one place.

 What does BuddyPress do in other places where these two types of filters
 are present?

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


More information about the buddypress-trac mailing list