Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2153 closed defect (fixed)

bbp_get_dropdown() no longer lists topics in the dropdown.

Reported by: jmdodd Owned by:
Milestone: 2.3 Priority: normal
Severity: major Version: trunk
Component: Back-end Keywords:
Cc: jmdodd@…

Description

get_pages() returns false for topics, while get_posts() does not property return all forums, which can be hierarchical (and have post_parent != 0). See #2061, #2102.

Attachments (1)

2153.1.diff (1.6 KB) - added by jmdodd 8 years ago.

Download all attachments as: .zip

Change History (4)

@jmdodd
8 years ago

#1 @jmdodd
8 years ago

  • Cc jmdodd@… added

Looking for a better unified solution, this is a bit of a cheat.

#2 @jmdodd
8 years ago

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

(In [4687]) Refine bbp_get_dropdown().

  • Don't assume post_parent = 0 as a default.
  • Fixes #2153.

#3 @jmdodd
8 years ago

(In [4688]) In bbp_get_dropdown(), set default post_parent to null, not 0.

Note: See TracTickets for help on using tickets.