From 97ac7fffa162c5dc98936f43bec465377fe2ba41 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 7 May 2015 05:25:30 +0000 Subject: [PATCH] Add missing parameter descriptions to the `created_term` hook documentation. Props dlh. Fixes #32276. git-svn-id: https://develop.svn.wordpress.org/trunk@32450 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 5254eef426..1b93971fb2 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -3036,8 +3036,12 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) { * Fires after a new term is created, and after the term cache has been cleaned. * * @since 2.3.0 + * + * @param int $term_id Term ID. + * @param int $tt_id Term taxonomy ID. + * @param string $taxonomy Taxonomy slug. */ - do_action( "created_term", $term_id, $tt_id, $taxonomy ); + do_action( 'created_term', $term_id, $tt_id, $taxonomy ); /** * Fires after a new term in a specific taxonomy is created, and after the term