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
This commit is contained in:
scribu 2010-10-22 21:31:57 +00:00
parent e3691d5188
commit 99f5c0f184
1 changed files with 0 additions and 2 deletions

View File

@ -2937,8 +2937,6 @@ function wp_check_term_hierarchy_for_loops( $parent, $term_id, $taxonomy ) {
if ( $parent == $term_id ) if ( $parent == $term_id )
return 0; return 0;
echo "larger loops\n";
// Now look for larger loops // Now look for larger loops
if ( !$loop = wp_find_hierarchy_loop( 'wp_get_term_taxonomy_parent_id', $term_id, $parent, array( $taxonomy ) ) ) if ( !$loop = wp_find_hierarchy_loop( 'wp_get_term_taxonomy_parent_id', $term_id, $parent, array( $taxonomy ) ) )