summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions-post.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-10-28 12:27:48 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-10-28 12:27:48 +0000
commitdca76ad19c0cc8299b9bc32f6db8d13b5542717b (patch)
treea870bacf5fc98f6d01bd3280d5c43b3e22a406a6 /wp-inst/wp-includes/functions-post.php
parent3335ee3f39fd50d52cfacf11de8f83a07dfe91bf (diff)
Massive WP merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@414 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions-post.php')
-rw-r--r--wp-inst/wp-includes/functions-post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/functions-post.php b/wp-inst/wp-includes/functions-post.php
index ad37b74..6da26fb 100644
--- a/wp-inst/wp-includes/functions-post.php
+++ b/wp-inst/wp-includes/functions-post.php
@@ -57,7 +57,7 @@ function wp_insert_post($postarr = array()) {
if (empty($post_date))
$post_date = current_time('mysql');
if (empty($post_date_gmt))
- $post_date_gmt = current_time('mysql', 1);
+ $post_date_gmt = get_gmt_from_date($post_date);
if ( empty($comment_status) ) {
if ( $update )