Changeset 4288
- Timestamp:
- 10/04/2006 03:05:54 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r4273 r4288 338 338 if ('' == $user->user_email) return false; // If there's no email to send the comment to 339 339 340 $comment_author_domain = gethostbyaddr($comment->comment_author_IP);340 $comment_author_domain = @gethostbyaddr($comment->comment_author_IP); 341 341 342 342 $blogname = get_option('blogname'); … … 416 416 $post = $wpdb->get_row("SELECT * FROM $wpdb->posts WHERE ID='$comment->comment_post_ID' LIMIT 1"); 417 417 418 $comment_author_domain = gethostbyaddr($comment->comment_author_IP);418 $comment_author_domain = @gethostbyaddr($comment->comment_author_IP); 419 419 $comments_waiting = $wpdb->get_var("SELECT count(comment_ID) FROM $wpdb->comments WHERE comment_approved = '0'"); 420 420
Note: See TracChangeset
for help on using the changeset viewer.