diff options
Diffstat (limited to 'wp-admin/index.php')
-rw-r--r-- | wp-admin/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/index.php b/wp-admin/index.php index 306e0b3..8455e80 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -43,7 +43,6 @@ if ( $comments || $numcomments ) : <?php if ( $numcomments ) : ?> <p><strong><a href="moderation.php"><?php echo sprintf(__('Comments in moderation (%s)'), number_format($numcomments) ); ?> »</a></strong></p> <?php endif; ?> -</div> <ul> <?php @@ -58,6 +57,7 @@ foreach ($comments as $comment) { </ul> <?php endif; ?> +</div> <?php if ( $recentposts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' AND post_date_gmt < '$today' ORDER BY post_date DESC LIMIT 5") ) : @@ -79,7 +79,7 @@ foreach ($recentposts as $post) { <?php endif; ?> <?php -if ( $scheduled = $wpdb->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") ) : ?> <div> <h3><?php _e('Scheduled Entries:') ?></h3> |