Docs: `_pad_term_counts()` takes an array of objects passed by reference, not term IDs.
Props wpsmith. Fixes #34174. Built from https://develop.svn.wordpress.org/trunk@34884 git-svn-id: http://core.svn.wordpress.org/trunk@34849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aa044b054e
commit
6079c4c6d2
|
@ -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 ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34883';
|
||||
$wp_version = '4.4-alpha-34884';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue