[buddypress-trac] [BuddyPress Trac] #6228: Pass $this instances to loop_start and loop_end actions in Members and Invites template.

buddypress-trac noreply at wordpress.org
Wed Feb 18 05:55:45 UTC 2015


#6228: Pass $this instances to loop_start and loop_end actions in Members and
Invites template.
--------------------------------+-----------------------------
 Reporter:  tw2113              |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Component - Groups  |    Version:
 Severity:  normal              |   Keywords:  has-patch
--------------------------------+-----------------------------
 We have duplicate hook names that don't have a way to differentiate what
 is being affected at the given time.

 Boone suggested at
 https://buddypress.trac.wordpress.org/ticket/5943#comment:11 that we pass
 the $this instance into each, which can be used to determine which
 loop_start or loop_end is being affected.

 See #5943 for more details on the hooks documenting that surfaced the
 detail.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6228>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list