Fix Scheduled Entries list. #2715
git-svn-id: http://svn.automattic.com/wordpress/trunk@3773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2f68889eb6
commit
5c407df97a
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue