Opened 8 years ago
Closed 8 years ago
#3165 closed defect (bug) (fixed)
Fix BBP_Forums_Group_Extension::is_single_forum
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Extend - BuddyPress | Keywords: | has-patch |
| Cc: |
Description
In BBP_Forums_Group_Extension::is_single_forum there are two issues preventing it from function properly.
- We're checking the
$this->forum_slugis the first key inBuddyPress::action_variables. $this->forum_slug isn't a property that's set. - We're that the first value in
BuddyPress::action_variablesis set toforum, but this will never be the case because it's shifted off the action variables array to becomeBuddyPress::current_action
Found this randomly on a site where I've been running trunk. The BBP stylesheet wasn't being loaded on BP group forum pages that were paged. This may also fix a few more edge cases for comment:4:ticket:3138.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Confirmed. Thanks for the patch! Will get this committed asap.