Ticket #23497: 23497.41.diff
File 23497.41.diff, 660 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/ajax-actions.php
2130 2130 if ( 0 != $single_revision_id ) { 2131 2131 $right_revision = get_post( $single_revision_id ); 2132 2132 2133 //make sure the left revision is the most recent 2134 // 2135 2136 if ( $compare_two_mode && strtotime( $right_revision->post_modified_gmt ) < strtotime( $left_revision->post_modified_gmt ) ) { 2137 $temp = $left_revision; 2138 $left_revision = $right_revision; 2139 $right_revision = $temp; 2140 } 2141 2133 2142 $linesadded=0; 2134 2143 $linesdeleted=0; 2135 2144