Remove the hamburger global'ing from [33828]: since no args are passed to `comment_author_email_link()`, the internals can be simplified and applied inline.
See #11566. Built from https://develop.svn.wordpress.org/trunk@33829 git-svn-id: http://core.svn.wordpress.org/trunk@33797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d0a1a47708
commit
a5b157ffde
|
@ -652,11 +652,11 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||
}
|
||||
|
||||
if ( $this->user_can ) {
|
||||
if ( !empty( $comment->comment_author_email ) ) {
|
||||
$GLOBALS['comment'] = $comment;
|
||||
comment_author_email_link();
|
||||
echo '<br />';
|
||||
unset( $GLOBALS['comment'] );
|
||||
if ( ! empty( $comment->comment_author_email ) ) {
|
||||
$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 );
|
||||
}
|
||||
}
|
||||
|
||||
$author_ip = get_comment_author_IP( $comment->comment_ID );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-33828';
|
||||
$wp_version = '4.4-alpha-33829';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue