[buddypress-trac] [BuddyPress] #3312: Allow replacement of groups object in group component loading

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jul 7 23:29:02 UTC 2011


#3312: Allow replacement of groups object in group component loading
--------------------------+-----------------
  Reporter:  ddean        |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  1.3
 Component:  Groups       |    Version:  1.3
Resolution:               |   Keywords:
--------------------------+-----------------

Comment (by boonebgorges):

 > Then it needs to filter the *name* of the class to create, not the
 created object.

 Right. But we don't filter class or function names anywhere else in BP or
 WP (to the best of my knowledge). If you filter the group object, then you
 can still replace the current group object - you'll just be wasting a few
 CPU cycles and a DB hit or two.

 In any case, I'm fine with a filter on the class name if everyone agrees
 that it's an OK precedent.

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


More information about the buddypress-trac mailing list