From 55fd6017f88801f5b169deea86c09796bd87fc27 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 12 Sep 2005 18:55:23 +0000 Subject: [PATCH] Order scheduled posts by date. git-svn-id: https://develop.svn.wordpress.org/trunk@2869 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 02f90ee196..92555b6b5b 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -78,7 +78,7 @@ foreach ($recentposts as $post) { get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today'") ) : +if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today' ORDER BY post_date ASC") ) : ?>