From d2cbbfe28be800c726c7e633ab5311cc147777ef Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 11 Feb 2016 04:32:08 +0000 Subject: [PATCH] Remove unused variable from `get_terms()`. Unused since [31284]. Props TimothyBlynJacobs. Fixes #35784. git-svn-id: https://develop.svn.wordpress.org/trunk@36508 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 4766368be0..ce01f1771a 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1134,7 +1134,6 @@ function get_terms( $taxonomies, $args = '' ) { global $wpdb; $empty_array = array(); - $single_taxonomy = ! is_array( $taxonomies ) || 1 === count( $taxonomies ); if ( ! is_array( $taxonomies ) ) { $taxonomies = array( $taxonomies ); }