From ab228ff84d864d3bfee3811e95caddb241e4f767 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 2 Jun 2016 14:28:35 +0000 Subject: [PATCH] Remove unused variable from `get_terms()`. Missed in [37572]. See #35381. Props JustinSainton. See #36992. git-svn-id: https://develop.svn.wordpress.org/trunk@37622 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 -- 1 file changed, 2 deletions(-) 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 ) ) {