Changeset 2688 for trunk/wp-includes/pluggable-functions.php
- Timestamp:
- 07/02/2005 11:41:07 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/pluggable-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable-functions.php
r2644 r2688 246 246 $comment = $wpdb->get_row("SELECT * FROM $wpdb->comments WHERE comment_ID='$comment_id' LIMIT 1"); 247 247 $post = $wpdb->get_row("SELECT * FROM $wpdb->posts WHERE ID='$comment->comment_post_ID' LIMIT 1"); 248 $user = $wpdb->get_row("SELECT * FROM $wpdb->users WHERE ID='$post->post_author' LIMIT 1");249 248 250 249 $comment_author_domain = gethostbyaddr($comment->comment_author_IP);
Note: See TracChangeset
for help on using the changeset viewer.