Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865
git-svn-id: http://core.svn.wordpress.org/trunk@22118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1410,7 +1410,7 @@ function get_terms($taxonomies, $args = '') {
|
||||
if ( $child_of ) {
|
||||
$children = _get_term_hierarchy($taxonomies[0]);
|
||||
if ( ! empty($children) )
|
||||
$terms = & _get_term_children($child_of, $terms, $taxonomies[0]);
|
||||
$terms = _get_term_children($child_of, $terms, $taxonomies[0]);
|
||||
}
|
||||
|
||||
// Update term counts to include children.
|
||||
|
||||
Reference in New Issue
Block a user