Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2445 closed defect (bug) (fixed)

bbp_get_dropdown() returns inconsistent results

Reported by: johnjamesjacoby Owned by: 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
8 years ago

  • Milestone changed from 2.4.1 to 2.5

Too big for 2.4.1. Moving to 2.5.

#2 @johnjamesjacoby
8 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
8 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.