Skip to:
Content

bbPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2445 closed defect (bug) (fixed)

bbp_get_dropdown() returns inconsistent results

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Priority: normal Milestone: 2.5
Component: General Version: 2.1
Severity: normal 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
13 years ago

  • Milestone 2.4.12.5

Too big for 2.4.1. Moving to 2.5.

#2 @johnjamesjacoby
13 years ago

  • Owner set to johnjamesjacoby
  • Resolutionfixed
  • Status newclosed

In 5117:

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

#3 @netweb
13 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.