Make WordPress Core


Ignore:
Timestamp:
04/13/2013 12:45:47 AM (12 years ago)
Author:
azaozz
Message:

Fix accidental revert of revisions comparison in [23981]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ajax-actions.php

    r23981 r23982  
    21272127
    21282128        // make sure the right revision is the most recent
    2129         if ( $compare_two_mode && $right_revision->ID < $left_revision->ID ) {
     2129        if ( $compare_two_mode && $right_revision->post_date < $left_revision->post_date ) {
    21302130            $temp = $left_revision;
    21312131            $left_revision = $right_revision;
Note: See TracChangeset for help on using the changeset viewer.