[wp-trac] [WordPress Trac] #30999: Inconsistent parameters for edited_term_taxonomy action

WordPress Trac noreply at wordpress.org
Mon Feb 16 22:03:45 UTC 2015


#30999: Inconsistent parameters for edited_term_taxonomy action
-------------------------------------------------+-------------------------
 Reporter:  ipm-frommen                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Taxonomy                             |  Review
 Severity:  normal                               |     Version:  3.0
 Keywords:  needs-patch dev-feedback needs-      |  Resolution:
  unit-tests                                     |     Focuses:
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 SergeyBiryukov - Thanks so much for looking this up. I did a similar
 search on 'edit_term_taxonomy' and only found one plugin that uses the
 `$taxonomy` parameter: user-series. It expects a string.

 My inclination is to settle on passing a string (the taxonomy slug).
 Elsewhere in taxonomy.php (and WP) we generally pass names to filters, not
 the corresponding objects.

 If others are OK with this, I'll reach out to the authors of the 5
 affected plugins with suggestions for a fix.

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


More information about the wp-trac mailing list