Changeset 4705 for trunk/wp-includes/comment.php
- Timestamp:
- 01/09/2007 08:22:28 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r4656 r4705 332 332 $comment_date = current_time('mysql'); 333 333 if ( ! isset($comment_date_gmt) ) 334 $comment_date_gmt = g mdate('Y-m-d H:i:s', strtotime($comment_date));334 $comment_date_gmt = get_gmt_from_date($comment_date); 335 335 if ( ! isset($comment_parent) ) 336 336 $comment_parent = 0; … … 461 461 $comment_content = apply_filters('comment_save_pre', $comment_content); 462 462 463 $comment_date_gmt = get_gmt_from_date($comment_date); 464 463 465 $result = $wpdb->query( 464 466 "UPDATE $wpdb->comments SET … … 468 470 comment_approved = '$comment_approved', 469 471 comment_author_url = '$comment_author_url', 470 comment_date = '$comment_date' 472 comment_date = '$comment_date', 473 comment_date_gmt = '$comment_date_gmt' 471 474 WHERE comment_ID = $comment_ID" ); 472 475
Note: See TracChangeset
for help on using the changeset viewer.