- Timestamp:
- 05/26/2019 12:11:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r45267 r45424 1479 1479 // offset applied. 1480 1480 if ( '0000-00-00 00:00:00' === $post->post_modified_gmt ) { 1481 $post_modified_gmt = date( 'Y-m-d H:i:s', strtotime( $post->post_modified ) - ( get_option( 'gmt_offset' ) * 3600 ) );1481 $post_modified_gmt = gmdate( 'Y-m-d H:i:s', strtotime( $post->post_modified ) - ( get_option( 'gmt_offset' ) * 3600 ) ); 1482 1482 } else { 1483 1483 $post_modified_gmt = $post->post_modified_gmt;
Note: See TracChangeset
for help on using the changeset viewer.