[buddypress-trac] [BuddyPress] #2674: bp-activity-classes.php: add a sql statements filter

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Apr 10 16:36:05 UTC 2011


#2674: bp-activity-classes.php: add a sql statements filter
--------------------------+--------------------
  Reporter:  aesqe        |      Owner:
      Type:  enhancement  |     Status:  closed
  Priority:  trivial      |  Milestone:  1.3
 Component:  Activity     |    Version:
Resolution:  fixed        |   Keywords:  filter
--------------------------+--------------------
Changes (by DJPaul):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 These queries are typically built from associative arrays, which are
 passed to these filters. You can either preg_replace the main query, or
 re-construct the query from the entire array, customising as necessary.
 It's not appropriate for a specialised filter just for the 'where' part of
 the statement, because someone may turn around and ask for the same for
 the 'limit' part, and so on.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2674#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list