[wp-trac] [WordPress Trac] #30306: wp_dropdown_categories values as slug
WordPress Trac
noreply at wordpress.org
Mon Nov 10 17:18:04 UTC 2014
#30306: wp_dropdown_categories values as slug
-------------------------+-----------------------------
Reporter: gputignano | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.0
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
wp_dropdown_categories returns value attribute in option tag as a numeric
value. It could be better to choose it between an id or slug. For example
if I want to filter a post list by a taxonomy I have to set taxonomy value
to slug in global $query var.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30306>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list