Make WordPress Core

Changeset 24668


Ignore:
Timestamp:
07/12/2013 05:41:39 AM (9 years ago)
Author:
markjaquith
Message:

Revisions: sort by date, not modified, to match revisions meta box.

See #24425.

File:
1 edited

Legend:

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

    r24667 r24668  
    6767    $now_gmt = time();
    6868
    69     $revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC', 'orderby' => 'modified' ) );
     69    $revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC' ) );
    7070
    7171    cache_users( wp_list_pluck( $revisions, 'post_author' ) );
Note: See TracChangeset for help on using the changeset viewer.