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:
Matt Mullenweg 2007-09-15 16:48:29 +00:00
parent a18368bf3f
commit 9a1ce32a53
1 changed files with 1307 additions and 1307 deletions

View File

@ -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;