From 4a8779feb90b396b0f632c2c90bd6ac765668cef Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 8 Aug 2017 20:52:01 +0000 Subject: [PATCH] Docs: Correct `@param` type for `$term_id` in `get_term_children()`. Props Soean, wido. Fixes #41585. git-svn-id: https://develop.svn.wordpress.org/trunk@41235 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 2207978878..02d11d84c4 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -921,7 +921,7 @@ function get_term_by( $field, $value, $taxonomy = '', $output = OBJECT, $filter * * @since 2.3.0 * - * @param string $term_id ID of Term to get children. + * @param int $term_id ID of Term to get children. * @param string $taxonomy Taxonomy Name. * @return array|WP_Error List of Term IDs. WP_Error returned if `$taxonomy` does not exist. */