Ticket #40661: wp_term_query_filter.diff
File wp_term_query_filter.diff, 575 bytes (added by , 8 years ago) |
---|
-
.php
old new 682 682 $cache = array_map( 'get_term', $cache ); 683 683 } 684 684 685 $cache = apply_filters( 'get_terms', $cache, $taxonomies, $this->query_vars, $this ); 686 685 687 $this->terms = $cache; 686 688 return $this->terms; 687 689 } … … 814 816 $terms = array_map( 'get_term', $terms ); 815 817 } 816 818 819 $terms = apply_filters( 'get_terms', $terms, $taxonomies, $this->query_vars, $this ); 820 817 821 $this->terms = $terms; 818 822 return $this->terms; 819 823 }