[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 01:03:27 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:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Inline Docs | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by DrewAPicture):
* keywords: needs-patch => has-patch
Comment:
[attachment:22801.diff] rewrites big parts of this docblock for clarity,
including the change about returning a WP_Error object mentioned in the
ticket description.
Side note: this whole file is slated for a docs review anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22801#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list