WordPress.org

Make WordPress Core

Ticket #23634: 23634.2.diff

File 23634.2.diff, 635 bytes (added by MikeHansenMe, 5 years ago)
  • src/wp-includes/class-walker-comment.php

     
    130130                $id_field = $this->db_fields['id'];
    131131                $id = $element->$id_field;
    132132
     133                if ( isset( $element->comment_ID ) ) {
     134                        do_action( 'after_comment' );
     135                }
     136
    133137                parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
    134138
    135139                // If we're at the max depth, and the current element still has children, loop over those and display them at this level