Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a18368bf3f
commit
9a1ce32a53
|
@ -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