Ticket #3197: 3197_20.diff
File 3197_20.diff, 585 bytes (added by , 18 years ago) |
---|
-
wp-includes/comment-functions.php
109 109 global $wpdb; 110 110 extract($commentdata); 111 111 112 $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) );113 114 112 // Simple duplicate check 115 113 $dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND ( comment_author = '$comment_author' "; 116 114 if ( $comment_author_email )