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

WordPress Trac noreply at wordpress.org
Mon Aug 26 15:48:02 UTC 2013


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

Comment (by nacin):

 Replying to [comment:10 SergeyBiryukov]:
 > `$taxonomy` is passed as a part of the array, so passing it again as a
 second argument appears to be redundant.

 Not necessarily — an earlier filter could change the 'taxonomy' key,
 rendering the context incorrect. The alternative would be to force
 'taxonomy' => $taxonomy after the filter.

 We can probably clean this up a bit, stylistically — break this out into a
 few lines of code.

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


More information about the wp-trac mailing list