From dae31f7d95fbb545c245b8cc38a13083fbc041eb Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 11 Feb 2016 04:33:29 +0000 Subject: [PATCH] Remove unused variable from `get_terms()`. Unused since [31284]. Props TimothyBlynJacobs. Fixes #35784. Built from https://develop.svn.wordpress.org/trunk@36508 git-svn-id: http://core.svn.wordpress.org/trunk@36475 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 4766368be0..ce01f1771a 100644 --- a/wp-includes/taxonomy.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index f0a65fe71d..ae0e6068fd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36507'; +$wp_version = '4.5-alpha-36508'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.