#168587 by jjeff: add rel=nofollow attribute to anonymous comment home page links to counter some spamming

6.x
Gábor Hojtsy 2007-08-19 11:02:35 +00:00
parent ac8e1e0238
commit 37bafeaf5f
1 changed files with 1 additions and 1 deletions

View File

@ -1523,7 +1523,7 @@ function theme_username($object) {
// aggregator modules). This clause enables modules to display
// the true author of the content.
if ($object->homepage) {
$output = l($object->name, $object->homepage);
$output = l($object->name, $object->homepage, array('rel' => 'nofollow'));
}
else {
$output = check_plain($object->name);