[wp-trac] [WordPress Trac] #29853: Introduce parity to 'taxonomy_parent_dropdown_args' filter.

WordPress Trac noreply at wordpress.org
Mon Dec 29 15:18:12 UTC 2014


#29853: Introduce parity to 'taxonomy_parent_dropdown_args' filter.
-------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  boonebgorges
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  4.2
Component:  Taxonomy           |     Version:  3.7
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 4.2


Comment:

 It should be noted that there's an outside chance that applying the same
 filter to the tag edit interface will cause problems with plugins that
 expect it only to apply when creating a tag. That being said, I searched
 Github and the plugins repo for examples, but couldn't find any - the
 filter appears to be rarely used. And it's likely that in most cases,
 applying the filter is going to fix bugs rather than cause them. So let's
 go with it, and add the `$context` param as DrewAPicture suggests.

 I think 'new' and 'edit' are more straightforward values for `$context`.
 "taxonomy" is in the filter name, so 'term' is redundant.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29853#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list