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:
matt 2007-09-15 16:48:29 +00:00
parent d3db272764
commit 8bfcfae2f8
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;