From c87a8235ca6af93f881581375d099f4b98c1f4e6 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: https://develop.svn.wordpress.org/trunk@15922 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 ) ) )