Ticket #9588: 9588.13.diff
File 9588.13.diff, 595 bytes (added by , 16 years ago) |
---|
-
wp-includes/post.php
1696 1696 1697 1697 $time = strtotime( $post->post_date_gmt . ' GMT' ); 1698 1698 1699 if ( $time > time() ) { // Uh oh, someone jumped the gun!1699 if ( $time > strtotime(gmdate("Y-m-d H:i:s")) ) { // Uh oh, someone jumped the gun! 1700 1700 wp_clear_scheduled_hook( 'publish_future_post', $post_id ); // clear anything else in the system 1701 1701 wp_schedule_single_event( $time, 'publish_future_post', array( $post_id ) ); 1702 1702 return;