Opened 10 years ago
Closed 10 years ago
#6228 closed defect (bug) (fixed)
Pass $this instances to loop_start and loop_end actions in Members and Invites template.
Reported by: | tw2113 | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Groups | Keywords: | needs-patch |
Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Looks great.