From 2c775dede69ce68a3f1f8381e682d1362cdc6d2d Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 4 Oct 2006 03:58:43 +0000 Subject: [PATCH] remove comment_user_domain cruft. Props Nazgul. fixes #3197 git-svn-id: http://svn.automattic.com/wordpress/trunk@4293 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index d617ea41c..6b41f2ba5 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -173,8 +173,6 @@ function wp_allow_comment($commentdata) { global $wpdb; extract($commentdata); - $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_IP) ); - // Simple duplicate check $dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND ( comment_author = '$comment_author' "; if ( $comment_author_email )