Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2445 closed defect (bug) (fixed)

bbp_get_dropdown() returns inconsistent results

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.1
Component: General Keywords:
Cc:

Description

bbp_get_dropdown usually returns a select field, but if there are no results, it returns a string. It should always return a field, even if the only option is of a 0 value.

Change History (3)

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from 2.4.1 to 2.5

Too big for 2.4.1. Moving to 2.5.

#2 @johnjamesjacoby
11 years ago

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

In 5117:

Update bbp_get_dropdown() so it always returns a form field (select tag) for more predictable usage. Fixes #2445.

#3 @netweb
11 years ago

In r5115:
Remove 'none_found' strings from forms. Will be deprecating as part of #2445.

In r5116:
Remove 'none_found' from metaboxes. Will be deprecating as part of #2445.

Note: See TracTickets for help on using tickets.