If an admin wants the IP in the comment display template they can still
get it (the default template shows it).
($commentauthorurl, $commentauthor) =
linkuser($params{username});
}
($commentauthorurl, $commentauthor) =
linkuser($params{username});
}
- elsif (defined $params{ip}) {
- $commentip = $params{ip};
- $commentauthor = sprintf(
- gettext("Anonymous (IP: %s)"), $params{ip});
- }
+ if (defined $params{ip}) {
+ $commentip = $params{ip};
+ }
$commentauthor = gettext("Anonymous");
}
$commentauthor = gettext("Anonymous");
}