Ticket #3197: 3197.diff
File 3197.diff, 555 bytes (added by , 18 years ago) |
---|
-
wp-includes/comment.php
173 173 global $wpdb; 174 174 extract($commentdata); 175 175 176 $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) );177 178 176 // Simple duplicate check 179 177 $dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND ( comment_author = '$comment_author' "; 180 178 if ( $comment_author_email )