From d23ca4da484a6fa3035d9a294afdf13d7f1f43aa 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: http://svn.automattic.com/wordpress/trunk@16466 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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