From ef8ff9efac1c4674c421f002dc15ff4b2c456b25 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 12 Jul 2013 05:41:39 +0000 Subject: [PATCH] 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 --- wp-admin/includes/revision.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/revision.php b/wp-admin/includes/revision.php index fce7c50ba9..94800ec58c 100644 --- a/wp-admin/includes/revision.php +++ b/wp-admin/includes/revision.php @@ -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' ) );