[wp-trac] [WordPress Trac] #15475: Proposed new function: wp_unset_object_terms

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 24 14:05:28 UTC 2011


#15475: Proposed new function: wp_unset_object_terms
---------------------------------+-----------------------------
 Reporter:  simonwheatley        |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Taxonomy             |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+-----------------------------

Comment (by ericmann):

 After some discussion on Twitter, it is apparent that this function will
 be needed sooner rather than later, though it might be a bit late for 3.2.

 I'm attaching a patch (written primarily by @trepmal) that extends this
 functionality to WordPress as `wp_unset_object_terms()`.  It accepts the
 same style of parameters as `wp_set_object_terms()` and has all the
 appropriate actions as well.

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


More information about the wp-trac mailing list