Changeset 45424 for trunk/tests/phpunit/tests/post/revisions.php
- Timestamp:
- 05/26/2019 12:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/revisions.php
r43571 r45424 533 533 for ( $j = 1; $j < 3; $j++ ) { 534 534 // Manually modify dates to ensure they're different. 535 $date = date( 'Y-m-d H:i:s', $now - ( $j * 10 ) );535 $date = gmdate( 'Y-m-d H:i:s', $now - ( $j * 10 ) ); 536 536 $post_revision_fields['post_date'] = $date; 537 537 $post_revision_fields['post_date_gmt'] = $date; … … 564 564 565 565 $revision_ids = array(); 566 $date = date( 'Y-m-d H:i:s', time() - 10 );566 $date = gmdate( 'Y-m-d H:i:s', time() - 10 ); 567 567 for ( $j = 1; $j < 3; $j++ ) { 568 568 // Manually modify dates to ensure they're the same.
Note: See TracChangeset
for help on using the changeset viewer.