Make WordPress Core


Ignore:
Timestamp:
09/13/2006 11:54:15 PM (18 years ago)
Author:
ryan
Message:

cron and future post publishing fixes. fixes #3058

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r4180 r4189  
    699699    // Schedule publication.
    700700    if ( 'future' == $post_status )
    701         wp_schedule_single_event(mysql2date('U', $post_date), 'publish_future_post', $post_ID);
     701        wp_schedule_single_event(strtotime($post->post_date_gmt. ' GMT'), 'publish_future_post', $post_ID);
    702702       
    703703    do_action('save_post', $post_ID);
Note: See TracChangeset for help on using the changeset viewer.