Make WordPress Core


Ignore:
Timestamp:
05/12/2006 03:21:09 AM (18 years ago)
Author:
ryan
Message:

Fix Scheduled Entries list. #2715

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index.php

    r3570 r3773  
    8080
    8181<?php
    82 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") ) :
     82if ( $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") ) :
    8383?>
    8484<div>
Note: See TracChangeset for help on using the changeset viewer.