[buddypress-trac] [BuddyPress] #2282: bp_has_* defaults filters

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Apr 3 20:45:21 UTC 2010


#2282: bp_has_* defaults filters
-------------------------+--------------------------------------------------
 Reporter:  mattwiebe    |       Owner:                
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  Activity     |    Keywords:                
-------------------------+--------------------------------------------------
 All of the bp_has_* functions currently have an output filter, but I think
 there should also be filters for the $defaults array. Filtering the output
 of the function in any meaningful way requires an extra query to the
 relevant template Class that could be avoided by filtering defaults
 instead.

 I've attached an example diff of what that would look like for
 bp_has_activities(). (I haven't submitted a diff before, so hopefully it
 works!)

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2282>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list