From 4b9631bd390e9df3f8df19b3b50a4bf56f2609c0 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 12 Sep 2005 18:55:23 +0000 Subject: [PATCH] Order scheduled posts by date. git-svn-id: http://svn.automattic.com/wordpress/trunk@2869 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 02f90ee19..92555b6b5 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") ) : ?>