Oops. Personal debug code that slipped in.

git-svn-id: http://svn.automattic.com/wordpress/branches/2.3@7587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-04-02 13:19:00 +00:00
parent 819c7ad8c2
commit 3b042772a9
1 changed files with 0 additions and 4 deletions

View File

@ -495,11 +495,7 @@ function &get_terms($taxonomies, $args = '') {
}
$key = md5( serialize( $args ) . serialize( $taxonomies ) );
if ( $_GET['taxonomy_test'] )
$timer_start = time();
if ( $cache = wp_cache_get( 'get_terms', 'terms' ) ) {
if ( $_GET['taxonomy_test'] )
mail('markjaquith@gmail.com', 'MM Debug ' . $timer_start - time() , print_r($cache, true));
if ( isset( $cache[ $key ] ) )
return apply_filters('get_terms', $cache[$key], $taxonomies, $args);
}