From 587e0e979f25ee2ffbf2cb1fca571376b8dbdd81 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 16 Apr 2009 22:19:01 +0000 Subject: [PATCH] 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 --- wp-includes/taxonomy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index e321d8d2fd..6c31a9a7bc 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -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