- Timestamp:
- 02/21/2017 06:17:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r40080 r40101 1005 1005 if ( ! empty( $date_data ) ) { 1006 1006 list( $prepared_post->post_date, $prepared_post->post_date_gmt ) = $date_data; 1007 $prepared_post->edit_date = true; 1007 1008 } 1008 1009 } elseif ( ! empty( $schema['properties']['date_gmt'] ) && ! empty( $request['date_gmt'] ) ) { … … 1011 1012 if ( ! empty( $date_data ) ) { 1012 1013 list( $prepared_post->post_date, $prepared_post->post_date_gmt ) = $date_data; 1014 $prepared_post->edit_date = true; 1013 1015 } 1014 1016 }
Note: See TracChangeset
for help on using the changeset viewer.