Ticket #13318: taxonomy.diff
| File taxonomy.diff, 729 bytes (added by , 16 years ago) |
|---|
-
wp-includes/taxonomy.php
797 797 798 798 // $args can be whatever, only use the args defined in defaults to compute the key 799 799 $filter_key = ( has_filter('list_terms_exclusions') ) ? serialize($GLOBALS['wp_filter']['list_terms_exclusions']) : ''; 800 $key = md5( serialize( compact(array_keys($ defaults)) ) . serialize( $taxonomies ) . $filter_key );800 $key = md5( serialize( compact(array_keys($args)) ) . serialize( $taxonomies ) . $filter_key ); 801 801 $last_changed = wp_cache_get('last_changed', 'terms'); 802 802 if ( !$last_changed ) { 803 803 $last_changed = time();