summaryrefslogtreecommitdiffstats
path: root/wp-includes/post.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-14 15:04:44 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-14 15:04:44 +0000
commitb1d917d5d377c88241aa233d4c6403213afa05df (patch)
treec2cbc61fa1ca5297a5dd065d8a6ef7c5a855061b /wp-includes/post.php
parent0594b4fefe09d84f0ed8ba46a6a0bb8f925027ea (diff)
downloadwordpress-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.php2
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);