Docs: Correct comment_email
duplicate hook reference in wp-admin/includes/class-wp-comments-list-table.php
.
Props keesiemeijer. See #39371. git-svn-id: https://develop.svn.wordpress.org/trunk@39669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6377db170b
commit
fb2da144c4
@ -690,7 +690,7 @@ 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 */
|
||||
/** This filter is documented in wp-includes/comment-template.php */
|
||||
$email = apply_filters( 'comment_email', $comment->comment_author_email, $comment );
|
||||
|
||||
if ( ! empty( $email ) && '@' !== $email ) {
|
||||
|
Loading…
Reference in New Issue
Block a user