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") ) : ?>