diff --git a/src/wp-includes/revision.php b/src/wp-includes/revision.php index 12cc8e1c4f..781f1a0975 100644 --- a/src/wp-includes/revision.php +++ b/src/wp-includes/revision.php @@ -371,7 +371,7 @@ function wp_get_post_revisions( $post_id = 0, $args = null ) { if ( ! $post || empty( $post->ID ) ) return array(); - $defaults = array( 'order' => 'DESC', 'orderby' => 'date', 'check_enabled' => true ); + $defaults = array( 'order' => 'DESC', 'orderby' => 'date ID', 'check_enabled' => true ); $args = wp_parse_args( $args, $defaults ); if ( $args['check_enabled'] && ! wp_revisions_enabled( $post ) )