X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..c55863f11e8589bf8d4a5698bf15752406654f1c:/wp-includes/taxonomy.php diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index c8191fe0..4bf48a93 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1362,7 +1362,7 @@ function get_terms($taxonomies, $args = '') { $exclusions = ''; if ( ! empty( $exclude_tree ) ) { $exclude_tree = wp_parse_id_list( $exclude_tree ); - $excluded_children = array(); + $excluded_children = $exclude_tree; foreach ( $exclude_tree as $extrunk ) { $excluded_children = array_merge( $excluded_children,