diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-19 11:02:35 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-19 11:02:35 +0000 |
commit | 37bafeaf5f2b316359d29630a5f6e9df9352ab7c (patch) | |
tree | ff8613f19f45dc5bc92a38266796eb86153e6041 /includes | |
parent | ac8e1e023821b2da88d6e3efae3244f455dc6424 (diff) | |
download | brdo-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.inc | 2 |
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); |