Ticket #9588: 9588.14.diff
File 9588.14.diff, 818 bytes (added by , 16 years ago) |
---|
-
wp-includes/taxonomy.php
653 653 $key = md5( serialize( compact(array_keys($defaults)) ) . serialize( $taxonomies ) . $filter_key ); 654 654 $last_changed = wp_cache_get('last_changed', 'terms'); 655 655 if ( !$last_changed ) { 656 $last_changed = time();656 $last_changed = current_time('timestamp'); 657 657 wp_cache_set('last_changed', $last_changed, 'terms'); 658 658 } 659 659 $cache_key = "get_terms:$key:$last_changed"; … … 1836 1836 delete_option("{$taxonomy}_children"); 1837 1837 } 1838 1838 1839 wp_cache_set('last_changed', time(), 'terms');1839 wp_cache_set('last_changed', current_time('timestamp'), 'terms'); 1840 1840 1841 1841 do_action('clean_term_cache', $ids, $taxonomy); 1842 1842 }