Ticket #4710: future_posts.diff
File future_posts.diff, 453 bytes (added by , 16 years ago) |
---|
-
wp-includes/post.php
1834 1834 1835 1835 function _future_post_hook($post_id, $post) { 1836 1836 // Schedule publication. 1837 wp_clear_scheduled_hook( 'publish_future_post', $post->ID ); 1837 1838 wp_schedule_single_event(strtotime($post->post_date_gmt. ' GMT'), 'publish_future_post', array($post->ID)); 1838 1839 } 1839 1840