Opened 16 years ago
Closed 12 years ago
#16625 closed enhancement (fixed)
wp_dropdown_categories reqs (consistent) option_none_value
| Reported by: | rcain | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Taxonomy | Version: | 3.0.4 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: | template |
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
@
16 years ago
- Owner set to
- Status new → 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
@
16 years ago
- Owner removed
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
@
16 years ago
Thanks for the info solarissmoke - good to know.
PS. sorry about ownership change - was accidental.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.