mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
removed email links from comment authors
git-svn-id: http://svn.automattic.com/wordpress/trunk@1024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97d8381691
commit
454b3cb0a9
@ -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