Forums

my login name as css class - how can I delete this security risk (1 post)

  1. Monika
    Member
    Posted 3 years ago #

    Hi @ all

    WP 2.7 and its new comments.

    in one of the CSS classes is my login name as css class- my login name is not my nickname- because I feel it is a security risk to use the login name as nickname.

    class=”comment byuser comment-author-******

    I know I can delete 9lines in comment-template.php

    // If the comment author has an id (registered), then print the log in name....

    but it is bad to hack core files.

    so I ask how can I delete this css class via functions.php?

    thanks a lot

Topic Closed

This topic has been closed to new replies.

About this Topic