summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-19 11:02:35 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-19 11:02:35 +0000
commit37bafeaf5f2b316359d29630a5f6e9df9352ab7c (patch)
treeff8613f19f45dc5bc92a38266796eb86153e6041 /includes
parentac8e1e023821b2da88d6e3efae3244f455dc6424 (diff)
downloadbrdo-37bafeaf5f2b316359d29630a5f6e9df9352ab7c.tar.gz
brdo-37bafeaf5f2b316359d29630a5f6e9df9352ab7c.tar.bz2
#168587 by jjeff: add rel=nofollow attribute to anonymous comment home page links to counter some spamming
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 10a582e97..d37aed16b 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -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);