Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 6 years ago

#2650 closed defect (bug) (wontfix)

[patch] 'exclude' and 'include' parameters for bp_has_forum_topics()

Reported by: boonebgorges Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Forums Keywords:
Cc:

Description

The trunk has a non-working implementation of 'exclude' in bp_forums_get_forum_topics(). This patch fixes that implementation and also allows an exclude parameter in bp_has_forum_topics().

The patch also adds an include parameter for bp_has_forum_topics and bp_forums_get_forum_topics().

The forum queries are kind of complicated, so I'd be grateful if others could test this, especially if you're using custom forum loops.

Attachments (1)

2650.patch (6.7 KB) - added by boonebgorges 9 years ago.

Download all attachments as: .zip

Change History (4)

@boonebgorges
9 years ago

#1 @boonebgorges
8 years ago

  • Milestone changed from 1.3 to 1.4

This is proving overly difficult with BB_Query. Punting.

#2 @DJPaul
8 years ago

  • Milestone changed from 1.6 to Future Release
  • Severity set to normal

Punting with the assumption bbPress 2.0 will make our life easier.

#3 @DJPaul
6 years ago

  • Keywords has-patch needs-testing removed
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Closing now that bbPress 2.0 has made our life easier. :)

Note: See TracTickets for help on using tickets.