From 9e49a3e6447829ea9bca3f477f2a0a65fcaf7ede Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 22 Sep 2005 09:43:00 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@354 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-includes/comment-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-inst/wp-includes/comment-functions.php') diff --git a/wp-inst/wp-includes/comment-functions.php b/wp-inst/wp-includes/comment-functions.php index 1bd0860..842135e 100644 --- a/wp-inst/wp-includes/comment-functions.php +++ b/wp-inst/wp-includes/comment-functions.php @@ -94,7 +94,7 @@ function wp_allow_comment($commentdata) { global $wpdb; extract($commentdata); - $comment_user_domain = apply_filters('pre_comment_user_domain', gethostbyaddr($comment_author_ip) ); + $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' "; -- cgit