Changeset 45424 for trunk/src/wp-includes/comment.php
- Timestamp:
- 05/26/2019 12:11:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r44972 r45424 338 338 break; 339 339 case 'server': 340 $add_seconds_server = date( 'Z' );340 $add_seconds_server = gmdate( 'Z' ); 341 341 342 342 $comment_modified_date = $wpdb->get_var( $wpdb->prepare( "SELECT DATE_ADD(comment_date_gmt, INTERVAL %s SECOND) FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1", $add_seconds_server ) );
Note: See TracChangeset
for help on using the changeset viewer.