[wp-trac] [WordPress Trac] #38006: wp_remove_object_terms() should pass $taxonomy to its actions

WordPress Trac noreply at wordpress.org
Sun Sep 18 03:26:42 UTC 2016


#38006: wp_remove_object_terms() should pass $taxonomy to its actions
----------------------------------------+-----------------------------
 Reporter:  boonebgorges                |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Taxonomy                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------

Comment (by Takahashi_Fumiki):

 `wp_remove_object_terms()` function doesn't have the equivalent of
 `set_object_terms` action.
 Add new argument $taxonomy to all of actions below:

 - add_term_relationship
 - added_term_relationship
 - delete_term_relationships
 - deleted_term_relationships

 They don't equals completely (singular/plural), but they are similar.

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


More information about the wp-trac mailing list