diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 2d3d085af3..565c1e6268 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -219,7 +219,7 @@ class WP_Term_Query { $query = $this->query_vars; } - $taxonomies = isset( $query['taxonomy'] ) ? $query['taxonomy'] : null; + $taxonomies = isset( $query['taxonomy'] ) ? (array) $query['taxonomy'] : null; /** * Filters the terms query default arguments. diff --git a/wp-includes/version.php b/wp-includes/version.php index af76681ff7..899d6b70ef 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38179'; +$wp_version = '4.7-alpha-38181'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.