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
This commit is contained in:
parent
346ebe0993
commit
0d1c1381b3
|
@ -3662,7 +3662,7 @@ function _get_term_children( $term_id, $terms, $taxonomy, &$ancestors = array()
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @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.
|
* @param string $taxonomy Term context.
|
||||||
*/
|
*/
|
||||||
function _pad_term_counts( &$terms, $taxonomy ) {
|
function _pad_term_counts( &$terms, $taxonomy ) {
|
||||||
|
|
Loading…
Reference in New Issue