Changeset 21996 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 09/25/2012 05:26:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r21951 r21996 1400 1400 1401 1401 if ( empty($terms) ) { 1402 wp_cache_add( $cache_key, array(), 'terms', 86400 ); // one day1402 wp_cache_add( $cache_key, array(), 'terms', DAY_IN_SECONDS ); 1403 1403 $terms = apply_filters('get_terms', array(), $taxonomies, $args); 1404 1404 return $terms; … … 1451 1451 } 1452 1452 1453 wp_cache_add( $cache_key, $terms, 'terms', 86400 ); // one day1453 wp_cache_add( $cache_key, $terms, 'terms', DAY_IN_SECONDS ); 1454 1454 1455 1455 $terms = apply_filters('get_terms', $terms, $taxonomies, $args);
Note: See TracChangeset
for help on using the changeset viewer.