Commit 37bafeaf authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#168587 by jjeff: add rel=nofollow attribute to anonymous comment home page...

#168587 by jjeff: add rel=nofollow attribute to anonymous comment home page links to counter some spamming
parent ac8e1e02
...@@ -1523,7 +1523,7 @@ function theme_username($object) { ...@@ -1523,7 +1523,7 @@ function theme_username($object) {
// aggregator modules). This clause enables modules to display // aggregator modules). This clause enables modules to display
// the true author of the content. // the true author of the content.
if ($object->homepage) { if ($object->homepage) {
$output = l($object->name, $object->homepage); $output = l($object->name, $object->homepage, array('rel' => 'nofollow'));
} }
else { else {
$output = check_plain($object->name); $output = check_plain($object->name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment