• Resolved Arp Laszlo

    (@echoleaf)


    I had a bunch of failed logins on a new site, with no posts, using my actual admin username (which is not admin or Administrator or anything guessable). I wasn’t sure how they figured my username out.

    When I poked around a bit I noticed that comments have usernames in their classes:

    <li id="comment-5" class="comment byuser comment-author-username bypostauthor odd alt depth-2">

    This is a needless security risk, at least for people who don’t use ridiculously complex passwords like I do.

    I get the idea behind it (styling comments per author is cool) but is there a snippet to just remove the username, instead of creating a custom comment template?

    • This topic was modified 2 years, 10 months ago by Arp Laszlo.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a snippet to remove usernames from comment classes?’ is closed to new replies.