From 0d1c1381b37dcbb84a06d5f5f1e54855e4ef12ba Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 6 Oct 2015 22:38:47 +0000 Subject: [PATCH] Docs: `_pad_term_counts()` takes an array of objects passed by reference, not term IDs. Props wpsmith. Fixes #34174. git-svn-id: https://develop.svn.wordpress.org/trunk@34884 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy-functions.php b/src/wp-includes/taxonomy-functions.php index 7da100b45f..e11d4615e1 100644 --- a/src/wp-includes/taxonomy-functions.php +++ b/src/wp-includes/taxonomy-functions.php @@ -3662,7 +3662,7 @@ function _get_term_children( $term_id, $terms, $taxonomy, &$ancestors = array() * * @global wpdb $wpdb WordPress database abstraction object. * - * @param array $terms List of term IDs, passed by reference. + * @param array $terms List of term objects, passed by reference. * @param string $taxonomy Term context. */ function _pad_term_counts( &$terms, $taxonomy ) {