#2974 closed defect (bug) (fixed)
BuddyPress: Ensure bbp_is_single_topic() returns true on group topic pages
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | 2.2 |
| Component: | Extend - BuddyPress | Keywords: | has-patch |
| Cc: |
Description
This is related to #2971.
If on a single topic page, the default theme enqueues some JS:
https://bbpress.trac.wordpress.org/browser/tags/2.5.10/templates/default/bbpress-functions.php#L187
However, bbp_is_single_topic() returns false when on a BuddyPress group forum topic page, so the JS is never enqueued.
Attached patch filters 'bbp_is_single_topic' in the BuddyPress groups module so that bbp_is_single_topic() will return true on group forum topic pages.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
This issue causes an issue with some plugins that use the
is_bbpress()function.EDIT: 2974.02.patch is a mistake on my part. Please ignore. 2974.01.patch fixes the issue.