[wp-trac] [WordPress Trac] #50753: Docs: mistake in wp_insert_term inline documentation

WordPress Trac noreply at wordpress.org
Fri Jul 24 12:18:09 UTC 2020


#50753: Docs: mistake in wp_insert_term inline documentation
--------------------------+-----------------------------
 Reporter:  audrasjb      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48600" 48600]:
 {{{
 #!CommitTicketReference repository="" revision="48600"
 Docs: Correct documentation for `wp_insert_term()`.

 The function is used for adding a new term, not updating an existing one.

 Props audrasjb, bmartinent.
 Fixes #50753.
 }}}

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


More information about the wp-trac mailing list