Make WordPress Core

Ticket #37591: 37591.diff

File 37591.diff, 420 bytes (added by wonderboymusic, 9 years ago)
  • src/wp-includes/class-wp-term-query.php

     
    641641                                $cache = array_map( 'get_term', $cache );
    642642                        }
    643643
    644                         return $cache;
     644                        $this->terms = $cache;
     645                        return $this->terms;
    645646                }
    646647
    647648                if ( 'count' == $_fields ) {