diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 82d16ae1e2..f71494244e 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1198,8 +1198,6 @@ function get_terms( $args = array(), $deprecated = '' ) { } } - $empty_array = array(); - if ( ! empty( $args['taxonomy'] ) ) { foreach ( $args['taxonomy'] as $taxonomy ) { if ( ! taxonomy_exists( $taxonomy ) ) {