[buddypress-trac] [BuddyPress Trac] #6997: Add item ID to bp_get_member|group_class() filters

buddypress-trac noreply at wordpress.org
Mon May 16 16:50:01 UTC 2016


#6997: Add item ID to bp_get_member|group_class() filters
-------------------------------------+------------------
 Reporter:  Offereins                |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  2.6
Component:  Component - Members      |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+------------------

Comment (by Offereins):

 @boonebgorges I'll refrain from adding filter parameters that are
 accessible through global template variables, to keep the single developer
 experience.

 However, I just uploaded two patches for the members and groups template
 files. Added filter parameters are variables that are passed as function
 parameters or those that may have been touched within the scope of the
 filter's function. These are not accessible through globals or other
 template vars.

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


More information about the buddypress-trac mailing list