#490 closed defect (bug) (fixed)
change hook position in groups-menu.php
| Reported by: | nicolagreco | Owned by: | nicolagreco |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: |
Description
the hook groups_sidebar_before shouldnt be
here:
<?php bp_group_avatar() ?> '''<?php do_action( 'groups_sidebar_before' ) ?>''' <div class="button-block"> <?php bp_group_join_button() ?> </div> <div class="info-group"> <h4><?php _e( 'Admins', 'buddypress' ) ?></h4> <?php bp_group_list_admins() ?> </div> <?php if ( bp_group_has_moderators() ) : ?> <div class="info-group"> <h4><?php _e( 'Mods' , 'buddypress' ) ?></h4> <?php bp_group_list_mods() ?> </div> <?php endif; ?> <?php do_action( 'groups_sidebar_after' ) ?>
but here
<?php bp_group_avatar() ?> <div class="button-block"> <?php bp_group_join_button() ?> </div> '''<?php do_action( 'groups_sidebar_before' ) ?>''' <div class="info-group"> <h4><?php _e( 'Admins', 'buddypress' ) ?></h4> <?php bp_group_list_admins() ?> </div> <?php if ( bp_group_has_moderators() ) : ?> <div class="info-group"> <h4><?php _e( 'Mods' , 'buddypress' ) ?></h4> <?php bp_group_list_mods() ?> </div> <?php endif; ?> <?php do_action( 'groups_sidebar_after' ) ?>
thanks,
Nicola
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [1140]) Fixes #490