protected function ping( $comment,
$depth,
$args ) { $tag =
( 'div' ===
$args['style'
] ) ? 'div' : 'li';
?>
<<?php
echo $tag; ?> id="comment-<?php
comment_ID(); ?>" <?php
comment_class( '',
$comment ); ?>>
<div class="comment-body">
<?php
_e( 'Pingback:'
); ?> <?php
comment_author_link( $comment ); ?> <?php
edit_comment_link( __( 'Edit'
), '<span class="edit-link">', '</span>'
); ?>
</div>
<?php
} /**
* Filters the comment text.
*
* Removes links from the pending comment's text if the commenter did not consent
* to the comment cookies.
*
* @since 5.4.2
*
* @param string $comment_text Text of the current comment.
* @param WP_Comment|null $comment The comment object. Null if not found.
* @return string Filtered text of the current comment.
*/