Docs: Add a duplicate filter comment to the comment_email
filter call in WP_Comments_List_Table
, introduced in [33829].
See #11566. git-svn-id: https://develop.svn.wordpress.org/trunk@33830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e10c682b83
commit
f7507e511d
@ -653,7 +653,9 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
|
||||
if ( $this->user_can ) {
|
||||
if ( ! empty( $comment->comment_author_email ) ) {
|
||||
/* This filter is documented in wp-includes/comment-template.php */
|
||||
$email = apply_filters( 'comment_email', $comment->comment_author_email, $comment );
|
||||
|
||||
if ( ! empty( $email ) && '@' !== $email ) {
|
||||
printf( '<a href=\'mailto:%1$s\'>%1$s</a><br />', $email );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user