Changeset 24263
- Timestamp:
- 05/15/2013 07:09:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r24231 r24263 2135 2135 $left_revision = get_post( $post_id ); 2136 2136 2137 // make sure the right revision is the most recent 2138 if ( $compare_t wo_mode&& $right_revision->post_date < $left_revision->post_date ) {2137 // make sure the right revision is the most recent, except on oldest revision 2138 if ( $compare_to && $right_revision->post_date < $left_revision->post_date ) { 2139 2139 $temp = $left_revision; 2140 2140 $left_revision = $right_revision;
Note: See TracChangeset
for help on using the changeset viewer.