From 99f5c0f184c95972723bfcc497fb3bb3dd2a36ce Mon Sep 17 00:00:00 2001 From: scribu Date: Fri, 22 Oct 2010 21:31:57 +0000 Subject: [PATCH] Remove debugging code in wp_check_term_hierarchy_for_loops(). See #14662 git-svn-id: http://svn.automattic.com/wordpress/trunk@15922 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index b34fa853f0..b1fd9f922b 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2937,8 +2937,6 @@ function wp_check_term_hierarchy_for_loops( $parent, $term_id, $taxonomy ) { if ( $parent == $term_id ) return 0; - echo "larger loops\n"; - // Now look for larger loops if ( !$loop = wp_find_hierarchy_loop( 'wp_get_term_taxonomy_parent_id', $term_id, $parent, array( $taxonomy ) ) )