mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Uppercase, please.
git-svn-id: https://develop.svn.wordpress.org/trunk@2903 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
258e64c812
commit
11d854b7ef
@ -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' ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user