Make WordPress Core

Ticket #3197: 3197.diff

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

     
    173173        global $wpdb;
    174174        extract($commentdata);
    175175
    176         $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) );
    177 
    178176        // Simple duplicate check
    179177        $dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND ( comment_author = '$comment_author' ";
    180178        if ( $comment_author_email )