Opened 14 years ago
Closed 10 years ago
#16625 closed enhancement (fixed)
wp_dropdown_categories reqs (consistent) option_none_value
Reported by: | rcain | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | minor | Version: | 3.0.4 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
wp_dropdown_categories sets option_none value="-1" without any means to override, whereas other similar funcs (eg:wp_dropdown_pages) use options_none value= and also provide method to override default (option_none_value).
please could we have a consistent set of values (and options interface) to all thee dropdown funcs and save us some unnecessary and messy extra coding. thanks.
Attachments (1)
Change History (11)
#3
follow-up:
↓ 4
@
14 years ago
- Owner set to rcain
- Status changed from new to reviewing
blimey, that was quick. very many thanks solarissmoke.
you are right of course, wp_dropdown_pages is the odd one out - not wp_drop_down_categories or wp_dropdown_users - my apologies. i suppose this means we are stuck with a legacy inconsistency here, but this patch will help.
can i ask - when do patches get rolled up into core version?
#4
in reply to:
↑ 3
@
14 years ago
- Owner rcain deleted
Replying to rcain:
can i ask - when do patches get rolled up into core version?
Once the senior developers have reviewed the ticket and approved the proposed changes.
PS ownership is generally assigned to/by the senior devs in charge of that component - not to the reporter.
#5
@
14 years ago
Thanks for the info solarissmoke - good to know.
PS. sorry about ownership change - was accidental.
#8
@
10 years ago
- Owner set to wonderboymusic
- Resolution set to fixed
- Status changed from reviewing to closed
In 28564:
Actually it is only wp_dropdown_pages that has an
option_none_value
. The other two don't. Here's a patch. It also tidies up some of the code.