[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
Fri Jul 23 22:19:18 UTC 2010
#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: Awaiting Triage
Component: Taxonomy | Version: 3.0
Severity: normal | Keywords: 2nd-opinion
-------------------------+--------------------------------------------------
Comment(by nerrad):
This bug also applies if a person wants to add a custom filter for
taxonomies to edit.php . WP is expecting custom-taxes to have a slug as
the query_var rather than the term_id and this means that the existing
wp_dropdown_categories won't work for the custom filter. Like mfields, I
have to create a custom dropdown function for the custom filter.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13258#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list