Make WordPress Core

Ticket #23634: 23634.diff

File 23634.diff, 517 bytes (added by codeclarified, 12 years ago)
  • wp-includes/class-wp-walker.php

     
    130130
    131131                $id = $element->$id_field;
    132132
     133                if( isset( $element->comment_ID ) )
     134                        do_action( 'after_comment' );
     135
    133136                // descend only when the depth is right and there are childrens for this element
    134137                if ( ($max_depth == 0 || $max_depth > $depth+1 ) && isset( $children_elements[$id]) ) {
    135138