From b1686771330b519c2029e64c227fcc3e9e54d140 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 15 May 2013 08:10:52 +0000 Subject: [PATCH] Correct inline docs for wp_delete_term(). fixes #24343. git-svn-id: https://develop.svn.wordpress.org/trunk@24261 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/taxonomy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 5c3dc9211c..84694b50cd 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1752,8 +1752,8 @@ function wp_delete_object_term_relationships( $object_id, $taxonomies ) { * * @uses $wpdb * @uses do_action() Calls both 'delete_term' and 'delete_$taxonomy' action - * hooks, passing term object, term id. 'delete_term' gets an additional - * parameter with the $taxonomy parameter. + * hooks, passing term ID, term taxonomy ID, and deleted term object. 'delete_term' + * also gets taxonomy as the third parameter. * * @param int $term Term ID * @param string $taxonomy Taxonomy Name