Added call to antispambot round comment email.

git-svn-id: https://develop.svn.wordpress.org/trunk@413 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-10-05 21:06:11 +00:00
parent acc8a43e97
commit d30e4e5c0e
1 changed files with 2 additions and 2 deletions

View File

@ -1211,7 +1211,7 @@ function comment_author_email() {
function comment_author_link() {
global $comment;
$url = trim(stripslashes($comment->comment_author_url));
$email = $comment->comment_author_email;
$email = stripslashes($comment->comment_author_email);
$author = stripslashes($comment->comment_author);
$url = str_replace('http://url', '', $url);
@ -1227,7 +1227,7 @@ function comment_author_link() {
$url = preg_replace('/&([^#])(?![a-z]{2,8};)/', '&$1', $url);
echo $url;
} else {
echo 'mailto:'.$email;
echo 'mailto:'.antispambot($email);
}
echo '" rel="external">' . $author . '</a>';
}