#168587 by jjeff: add rel=nofollow attribute to anonymous comment home page links to counter some spamming
parent
ac8e1e0238
commit
37bafeaf5f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue