diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 565c1e6268..38977f451c 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -641,7 +641,8 @@ class WP_Term_Query { $cache = array_map( 'get_term', $cache ); } - return $cache; + $this->terms = $cache; + return $this->terms; } if ( 'count' == $_fields ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a8d0339369..63ef809ced 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-RC1-38210'; +$wp_version = '4.6-RC1-38214'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.