removed email links from comment authors
git-svn-id: https://develop.svn.wordpress.org/trunk@1024 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f2c646a82e
commit
7df50ac769
@ -121,7 +121,6 @@ function comment_author_email() {
|
||||
function comment_author_link() {
|
||||
global $comment;
|
||||
$url = apply_filters('comment_url', $comment->comment_author_url);
|
||||
$email = apply_filters('comment_email', $comment->comment_author_email);
|
||||
$author = apply_filters('comment_author', $comment->comment_author);
|
||||
|
||||
if (empty($url) && empty($email)) {
|
||||
@ -132,8 +131,6 @@ function comment_author_link() {
|
||||
echo '<a href="';
|
||||
if ($url) {
|
||||
echo $url;
|
||||
} else {
|
||||
echo "mailto:$email";
|
||||
}
|
||||
echo '" rel="external">' . $author . '</a>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user