[buddypress-trac] [BuddyPress] #3534: Incorrect position of bp_after_group_plugin_template hook

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 31 17:55:21 UTC 2011


#3534: Incorrect position of bp_after_group_plugin_template hook
----------------------+-----------------------------
 Reporter:  Jonnyauk  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  Awaiting Review
Component:  Theme     |    Version:
 Severity:  normal    |   Keywords:  has-patch
----------------------+-----------------------------
 I've noticed an inconsistency in the bp_after_group_plugin_template hook
 position in:
 {{{bp-themes/bp-default/groups/single/plugins.php}}}

 In this file:
 - {{{bp_before_group_plugin_template -> inside loop}}}
 - {{{bp_after_group_plugin_template -> outside loop}}}

 With the 'before' hook being inside the loop, the 'after' hook should be
 inside too, as per the structure of:
 {{{bp-themes/bp-default/groups/single/home.php}}}
 - {{{bp_before_group_home_content -> inside loop}}}
 - {{{bp_after_group_home_content -> inside loop}}}

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


More information about the buddypress-trac mailing list