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
This commit is contained in:
parent
a5b157ffde
commit
375d30f699
|
@ -653,7 +653,9 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||||
|
|
||||||
if ( $this->user_can ) {
|
if ( $this->user_can ) {
|
||||||
if ( ! empty( $comment->comment_author_email ) ) {
|
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 );
|
$email = apply_filters( 'comment_email', $comment->comment_author_email, $comment );
|
||||||
|
|
||||||
if ( ! empty( $email ) && '@' !== $email ) {
|
if ( ! empty( $email ) && '@' !== $email ) {
|
||||||
printf( '<a href=\'mailto:%1$s\'>%1$s</a><br />', $email );
|
printf( '<a href=\'mailto:%1$s\'>%1$s</a><br />', $email );
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue