Ticket #23634: 23634.diff
File 23634.diff, 517 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp-walker.php
130 130 131 131 $id = $element->$id_field; 132 132 133 if( isset( $element->comment_ID ) ) 134 do_action( 'after_comment' ); 135 133 136 // descend only when the depth is right and there are childrens for this element 134 137 if ( ($max_depth == 0 || $max_depth > $depth+1 ) && isset( $children_elements[$id]) ) { 135 138