Opened 10 years ago
Closed 10 years ago
#7131 closed defect (bug) (fixed)
[BP Nouveau Request] BP_Group_Extension->widget_diplay() is never reachable
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Groups | Version: | |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 10905: