Opened 8 years ago
Closed 8 years ago
#7131 closed defect (bug) (fixed)
[BP Nouveau Request] BP_Group_Extension->widget_diplay() is never reachable
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Groups | Keywords: | has-patch |
Cc: |
Description
The action added to 'groups_custom_group_boxes' that calls the Group Class widget_display
method is inside an if statement that is always false. See below
if ( ! bp_current_action() && bp_is_current_action( 'home' ) ) {}
It's not possible for the current action to be home and nothing at the same time :)
So i'd suggest to use the bp_is_group_home()
template tag instead, to give it a chance to be used in case the theme is using the bp_custom_group_boxes()
template tag.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 10905: