id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 37591,WP_Term_Query breaks when cache is returned,wonderboymusic,wonderboymusic,"Found this bug on NYT in production since I am running the RC there #yolo as originally reported here: https://wordpress.slack.com/archives/core/p1470433813002336 {{{ $cache = wp_cache_get( $cache_key, 'terms' ); if ( false !== $cache ) { if ( 'all' === $_fields ) { $cache = array_map( 'get_term', $cache ); } return $cache; } }}} Needs to be: {{{ $cache = wp_cache_get( $cache_key, 'terms' ); if ( false !== $cache ) { if ( 'all' === $_fields ) { $cache = array_map( 'get_term', $cache ); } $this->terms = $cache; return $cache; } }}}",defect (bug),closed,high,4.6,Taxonomy,,blocker,fixed,has-patch commit,,