Skip to:
Content

bbPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2153 closed defect (bug) (fixed)

bbp_get_dropdown() no longer lists topics in the dropdown.

Reported by: jmdodd Owned by:
Priority: normal Milestone: 2.3
Component: Back-end Version: trunk
Severity: major 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 14 years ago.

Download all attachments as: .zip

Change History (4)

@jmdodd
14 years ago

#1 @jmdodd
14 years ago

  • Cc jmdodd@… added

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

#2 @jmdodd
14 years ago

  • Resolution → fixed
  • Status new → closed

(In [4687]) Refine bbp_get_dropdown().

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

#3 @jmdodd
14 years ago

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

Note: See TracTickets for help on using tickets.