mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Notice fixes. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8732 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -609,8 +609,10 @@ function &get_terms($taxonomies, $args = '') {
|
||||
$key = md5( serialize( compact(array_keys($defaults)) ) . serialize( $taxonomies ) . $filter_key );
|
||||
|
||||
if ( $cache = wp_cache_get( 'get_terms', 'terms' ) ) {
|
||||
if ( isset( $cache[ $key ] ) )
|
||||
return apply_filters('get_terms', $cache[$key], $taxonomies, $args);
|
||||
if ( isset( $cache[ $key ] ) ) {
|
||||
$terms = apply_filters('get_terms', $cache[$key], $taxonomies, $args);
|
||||
return $terms;
|
||||
}
|
||||
}
|
||||
|
||||
if ( 'count' == $orderby )
|
||||
|
||||
Reference in New Issue
Block a user