Revisions: sort by date, not modified, to match revisions meta box.
See #24425. git-svn-id: http://core.svn.wordpress.org/trunk@24668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
13a7d2a743
commit
ef8ff9efac
|
@ -66,7 +66,7 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
|
|||
$revisions = array();
|
||||
$now_gmt = time();
|
||||
|
||||
$revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC', 'orderby' => 'modified' ) );
|
||||
$revisions = wp_get_post_revisions( $post->ID, array( 'order' => 'ASC' ) );
|
||||
|
||||
cache_users( wp_list_pluck( $revisions, 'post_author' ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue