WordPress.org

Make WordPress Core

Ticket #23634: 23634.3.diff

File 23634.3.diff, 711 bytes (added by MikeHansenMe, 5 years ago)

with Docs

  • 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                        /**
     135                         * Fires after each comment.
     136                         *
     137                         * @since 4.4.0
     138                         */
     139                        do_action( 'after_comment' );
     140                }
     141
    133142                parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
    134143
    135144                // If we're at the max depth, and the current element still has children, loop over those and display them at this level