[wp-trac] [WordPress Trac] #36690: Improve documentation on deleting all terms associated with an object
WordPress Trac
noreply at wordpress.org
Thu Jan 12 06:53:23 UTC 2017
#36690: Improve documentation on deleting all terms associated with an object
-------------------------------------------------+-------------------------
Reporter: barryceelen | Owner:
Type: enhancement | SergeyBiryukov
Priority: normal | Status: closed
Component: Taxonomy | Milestone: 4.7.2
Severity: normal | Version: 4.6
Keywords: has-patch 2nd-opinion good-first- | Resolution: fixed
bug | Focuses: docs
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"39893"]:
{{{
#!CommitTicketReference repository="" revision="39893"
Docs: In `wp_set_object_terms()`, add a note that passing an empty value
as `$terms` argument will remove all related terms.
Props barryceelen.
Fixes #36690.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36690#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list