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
This commit is contained in:
parent
890c0ead1c
commit
c87a8235ca
@ -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 ) ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user