diff --git a/wp-admin/index.php b/wp-admin/index.php index 5616fbd0c8..2775ec15d4 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -79,7 +79,7 @@ foreach ($recentposts as $post) { get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' AND post_date_gmt > '$today' ORDER BY post_date ASC") ) : +if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'future' ORDER BY post_date ASC") ) : ?>