WordPress.org

Ready to get started?Download WordPress

Forums

Spam filter improvement (1 post)

  1. troll
    Member
    Posted 5 years ago #

    Hi all!
    WordPress is a great deal, but I know a way to improve it - add

    $domain = @gethostbyaddr($user_ip);
    if ( preg_match($pattern,$domain) ) return false;

    in

    function check_comment

    at

    wp-includes/comments.php

    This adds you ability to antispam comments by author domain.
    Is it a good idea?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags