From 11d854b7ef8a2fd09e0f29beeaaae36c75ee9c69 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 22 Sep 2005 08:39:09 +0000 Subject: [PATCH] Uppercase, please. git-svn-id: https://develop.svn.wordpress.org/trunk@2903 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 1bd0860ab4..842135ef68 100644 --- a/wp-includes/comment-functions.php +++ b/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' ";