[wp-trac] [WordPress Trac] #36182: Incorrect `@return` documentation for `wp_set_object_terms()` and friends

WordPress Trac noreply at wordpress.org
Wed Mar 9 16:16:32 UTC 2016


#36182: Incorrect `@return` documentation for `wp_set_object_terms()` and friends
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.5
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  docs
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36896"]:
 {{{
 #!CommitTicketReference repository="" revision="36896"
 Correct `@return` annotation for `wp_set_object_terms()` and related
 functions.

 The return value is an array of term taxonomy IDs, not term IDs.

 Fixes #36182.
 }}}

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


More information about the wp-trac mailing list