From 375d30f699867230cb4f2c49998116f5430d60b0 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 31 Aug 2015 21:22:21 +0000 Subject: [PATCH] Docs: Add a duplicate filter comment to the `comment_email` filter call in `WP_Comments_List_Table`, introduced in [33829]. See #11566. Built from https://develop.svn.wordpress.org/trunk@33830 git-svn-id: http://core.svn.wordpress.org/trunk@33798 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-comments-list-table.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index d1d518240f..0d2d16eb8a 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -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( '%1$s
', $email ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index d77b360a06..8a82ee6d38 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33829'; +$wp_version = '4.4-alpha-33830'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.