Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348

git-svn-id: https://develop.svn.wordpress.org/trunk@10963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-16 22:19:01 +00:00
parent 7f9bf59265
commit 587e0e979f
1 changed files with 2 additions and 1 deletions

View File

@ -1407,7 +1407,8 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) {
* @uses $wpdb
*
* @param int $object_id The object to relate to.
* @param array|int|string $term The slug or id of the term.
* @param array|int|string $term The slug or id of the term, will replace all existing
* related terms in this taxonomy.
* @param array|string $taxonomy The context in which to relate the term to the object.
* @param bool $append If false will delete difference of terms.
* @return array|WP_Error Affected Term IDs