Make WordPress Core

Ticket #3197: 3197_20.diff

File 3197_20.diff, 585 bytes (added by Nazgul, 18 years ago)
  • wp-includes/comment-functions.php

     
    109109        global $wpdb;
    110110        extract($commentdata);
    111111
    112         $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) );
    113 
    114112        // Simple duplicate check
    115113        $dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND ( comment_author = '$comment_author' ";
    116114        if ( $comment_author_email )