Changeset 997 for trunk/wp-comments-post.php
- Timestamp:
- 03/25/2004 01:56:02 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r984 r997 47 47 } 48 48 49 50 $now = gmdate('Y-m-d H:i:s');49 $now = current_time('mysql'); 50 $now_gmt = current_time('mysql', 1); 51 51 52 52 … … 86 86 87 87 $wpdb->query("INSERT INTO $tablecomments 88 (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_ content, comment_approved)88 (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved) 89 89 VALUES 90 ('$comment_post_ID', '$author', '$email', '$url', '$user_ip', '$now', '$comment', '$approved')90 ('$comment_post_ID', '$author', '$email', '$url', '$user_ip', '$now', ,'$now_gmt', '$comment', '$approved') 91 91 "); 92 92
Note: See TracChangeset
for help on using the changeset viewer.