Changeset 1003
- Timestamp:
- 03/25/04 02:39:16 (4 years ago)
- Files:
-
- trunk/wp-trackback.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-trackback.php
r984 r1003 53 53 $user_domain = gethostbyaddr($user_ip); 54 54 $time_difference = get_settings('time_difference'); 55 $now = gmdate('Y-m-d H:i:s'); 55 $now = current_time('mysql'); 56 $now_gmt = current_time('mysql', 1); 56 57 57 58 $comment = convert_chars($comment); … … 74 75 75 76 $result = $wpdb->query("INSERT INTO $tablecomments 76 (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_ content, comment_approved)77 (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved) 77 78 VALUES 78 ('$comment_post_ID', '$author', '$email', '$tb_url', '$user_ip', '$now', '$ comment', '$approved')79 ('$comment_post_ID', '$author', '$email', '$tb_url', '$user_ip', '$now', '$now_gmt', '$comment', '$approved') 79 80 "); 80 81
