Skip to:

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#2974 closed defect (bug) (fixed)

BuddyPress: Ensure bbp_is_single_topic() returns true on group topic pages

Reported by: r-a-y's profile r-a-y Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.2
Component: Extend - BuddyPress Keywords: has-patch


This is related to #2971.

If on a single topic page, the default theme enqueues some JS:

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)

2974.01.patch (1.1 KB) - added by r-a-y 8 years ago.
2974.02.patch (1.6 KB) - added by justinph 8 years ago.

Download all attachments as: .zip

Change History (6)

8 years ago

8 years ago

#1 @justinph
8 years ago

This issue causes an issue with some plugins that use the is_bbpress() function, which also needs to be updated. Fix in 2974.02.patch, attached.

Version 0, edited 8 years ago by justinph (next)

#2 @johnjamesjacoby
8 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 6220:

BuddyPress: Additional conditionals for group forum topic checks.

Fixes #2974. Props r-a-y.

#3 @johnjamesjacoby
7 years ago

In 6367:

BuddyPress: Filter bbp_is_single_forum for group forums.

Props r-a-y. Fixes #2727. See #2974.

#4 @johnjamesjacoby
7 years ago

In 6368:

BuddyPress: Update inline doc for group-forum filter. See #2974.

Note: See TracTickets for help on using tickets.