diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-14 15:04:44 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-14 15:04:44 +0000 |
commit | b1d917d5d377c88241aa233d4c6403213afa05df (patch) | |
tree | c2cbc61fa1ca5297a5dd065d8a6ef7c5a855061b /wp-includes/post.php | |
parent | 0594b4fefe09d84f0ed8ba46a6a0bb8f925027ea (diff) | |
download | wordpress-mu-b1d917d5d377c88241aa233d4c6403213afa05df.tar.gz wordpress-mu-b1d917d5d377c88241aa233d4c6403213afa05df.tar.xz wordpress-mu-b1d917d5d377c88241aa233d4c6403213afa05df.zip |
WP Merge to rev #4191
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@753 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/post.php')
-rw-r--r-- | wp-includes/post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/post.php b/wp-includes/post.php index 1894225..fa747aa 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -698,7 +698,7 @@ function wp_insert_post($postarr = array()) { // Schedule publication. if ( 'future' == $post_status ) - wp_schedule_single_event(mysql2date('U', $post_date), 'publish_future_post', $post_ID); + wp_schedule_single_event(strtotime($post_date_gmt. ' GMT'), 'publish_future_post', $post_ID); do_action('save_post', $post_ID); do_action('wp_insert_post', $post_ID); |