[wp-trac] [WordPress Trac] #13258: wp_dropdown_categories() uses $term->id instead of $term->name for taxonomies that are not categories
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 9 20:47:34 UTC 2012
#13258: wp_dropdown_categories() uses $term->id instead of $term->name for
taxonomies that are not categories
-----------------------------------+-----------------------------
Reporter: mfields | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch |
-----------------------------------+-----------------------------
Changes (by stephenh1988):
* cc: stephen@… (added)
* keywords: 2nd-opinion needs-patch => 2nd-opinion has-patch
Comment:
In the meantime, its possible to replicate this by passing a custom walker
which extends the `Walker_CategoryDropdown` class and replaces the
`start_el` method. See this gist: https://gist.github.com/2902509
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13258#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list