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

WordPress Trac noreply at wordpress.org
Tue Jan 13 09:02:37 UTC 2015


#30999: Inconsistent parameters for edited_term_taxonomy action
--------------------------+-----------------------------
 Reporter:  ipm-frommen   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 There are three `edited_term_taxonomy` action hooks:

 * in the [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php#L3423 wp_update_term] function;
 * in the [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php#L3987 _update_post_term_count] function;
 * in the [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php#L4014 _update_generic_term_count] function.

 The first one provides as second parameter `$taxonomy` the taxonomy
 '''slug''', while the others provide the taxonomy '''object'''.

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


More information about the wp-trac mailing list