From 5b4e507d7d98ad35288257510d277ef2222584e4 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 7 May 2010 20:57:23 +0000 Subject: [PATCH] Restore the strtotime(). See #9285. git-svn-id: https://develop.svn.wordpress.org/trunk@14507 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index d49dd54e11..126c5a9925 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -4143,7 +4143,7 @@ function _transition_post_status($new_status, $old_status, $post) { */ function _future_post_hook( $deprecated = '', $post ) { wp_clear_scheduled_hook( 'publish_future_post', array( $post->ID ) ); - wp_schedule_single_event( get_gmt_from_date( $post->post_date ) . ' GMT', 'publish_future_post', array( $post->ID ) ); + wp_schedule_single_event( strtotime( get_gmt_from_date( $post->post_date ) . ' GMT') , 'publish_future_post', array( $post->ID ) ); } /**