Incorrect cache group was causing terms never to get cached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d3db272764
commit
8bfcfae2f8
|
@ -612,7 +612,7 @@ function &get_terms($taxonomies, $args = '') {
|
|||
reset ( $terms );
|
||||
|
||||
$cache[ $key ] = $terms;
|
||||
wp_cache_set( 'get_terms', $cache, 'term' );
|
||||
wp_cache_set( 'get_terms', $cache, 'terms' );
|
||||
|
||||
$terms = apply_filters('get_terms', $terms, $taxonomies, $args);
|
||||
return $terms;
|
||||
|
|
Loading…
Reference in New Issue