[wp-trac] [WordPress Trac] #16677: wp_dropdown_categories() shows the wrong name/id when $taxonomy argument is set (was: wp_dropdown_categories() shows the wrong name/id when $taxonomy arg is present)
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 26 14:45:06 UTC 2011
#16677: wp_dropdown_categories() shows the wrong name/id when $taxonomy argument is
set
--------------------------+-----------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Taxonomy | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-----------------------
Changes (by ramiy):
* cc: ramiy (added)
* keywords: => needs-patch
* status: closed => reopened
* resolution: invalid =>
Comment:
ocean90, Thank you for the quick response.
The "Expected behaviour" is not always the "Right behaviour".
I know that i can change the "name" and the even the "class" arguments.
But i think this should be done automaticly by the system/function.
When i use the category taxonomy, i expect to see '''name='cat'
id='cat''''. And when i use custom taxomony, i expect it to be
'''name='term' id='term''''.
Furthermore, when using '''taxonomy=cat''' we don't need to set
'''name=cat''', its done automaticly. The same behaviour shold be in
custom taxomony.
When $taxonomy argument is set (and $name is not) the name shold be equal
to taxonomy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16677#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list