mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
e3691d5188
commit
99f5c0f184
@ -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 ) ) )
|
||||
|
Loading…
Reference in New Issue
Block a user