WordPress.org

Forums

[resolved] Spam Comments (3 posts)

  1. rmorphet
    Member
    Posted 1 year ago #

    In the back end there is an option on the discussion setting page - Comment author must fill out name and e-mail
    I have noticed that spam comments do not have an email address.
    In email forms I code, if there is missing required input data, the form does not send. I could just scour through the code and add an if...then statement (somehow) to make this happen just like in my email forms. Unfortunately the next WordPress update would erase anything I changed.It would also be nice if the user was identified by the MAC address of his computer, so you could block a real address instead of a dynamic ip address. Just food for thought for the next WordPress Update.

  2. As you've said modifying the WordPress core files like that will get you in trouble and besides: your web server will never see the MAC address of the computer talking to it. IP address yes, MAC no. ;)

    I have noticed that spam comments do not have an email address.

    That sounds like pingback and trackback spam. Have you reviewed this Codex link?

    http://codex.wordpress.org/Combating_Comment_Spam

    Give that link a read and maybe it can help you out.

    Spam's not a new problem and really is best handled with plugins. It's not something that will get into the core aside from any rudimentary code there already.

  3. rmorphet
    Member
    Posted 1 year ago #

    Thank You.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.