From 0e87356092de739bebc9ce18141b4155426fa03f Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 18 Nov 2010 18:46:41 +0000 Subject: [PATCH] Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472 git-svn-id: https://develop.svn.wordpress.org/trunk@16466 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/taxonomy.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 1dc9e67d8e..3ca891a876 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1468,11 +1468,11 @@ function wp_count_terms( $taxonomy, $args = array() ) { } /** - * Will unlink the term from the taxonomy. + * Will unlink the object from the taxonomy or taxonomies. * - * Will remove the term's relationship to the taxonomy, not the term or taxonomy - * itself. The term and taxonomy will still exist. Will require the term's - * object ID to perform the operation. + * Will remove all relationships between the object and any terms in + * a particular taxonomy or taxonomies. Does not remove the term or + * taxonomy itself. * * @package WordPress * @subpackage Taxonomy