[wp-trac] [WordPress Trac] #22801: Update documentation on wp_insert_term to state that it will return an error if inserting an existing term.

WordPress Trac noreply at wordpress.org
Thu Sep 19 16:08:31 UTC 2013


#22801: Update documentation on wp_insert_term to state that it will return an
error if inserting an existing term.
--------------------------+-----------------------------
 Reporter:  lgedeon       |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.7
Component:  Inline Docs   |     Version:  2.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by DrewAPicture):

 In [changeset:"25498"]:
 {{{
 #!CommitTicketReference repository="" revision="25498"
 Clarify error handling and special cases in the `wp_insert_term()` phpdoc
 block.

 props lgedeon, SergeyBiryukov. See #22801.
 }}}

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


More information about the wp-trac mailing list