[wp-trac] [WordPress Trac] #18166: Be able to amend the parent dropdown on the edit taxonomy term page

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 20 06:24:56 UTC 2011


#18166: Be able to amend the parent dropdown on the edit taxonomy term page
-------------------------+------------------------------
 Reporter:  leewillis77  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by dd32):

 > But you're right - as a matter of style I guess the arguments should be
 the other way around, so that the first variable passed is the one that is
 "filtered".

 It's not just a matter of style, In the event there's nothing hooked to
 the filter, the first arg would be returned. So if nothing was using the
 filter in the original patch, $taxonomy would've been passed to
 wp_dropdown_categories() instead of the array.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18166#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list