diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 961bd0e101..79ec315c4f 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -323,7 +323,7 @@ class WP_Term_Query { */ do_action( 'pre_get_terms', $this ); - $taxonomies = $args['taxonomy']; + $taxonomies = (array) $args['taxonomy']; // Save queries by not crawling the tree in the case of multiple taxes or a flat tax. $has_hierarchical_tax = false; diff --git a/wp-includes/version.php b/wp-includes/version.php index 751b617a45..23d41651c2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40146'; +$wp_version = '4.8-alpha-40147'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.