Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 22186)
+++ wp-includes/post.php	(working copy)
@@ -2865,7 +2865,7 @@
  * Publish a post by transitioning the post status.
  *
  * @since 2.1.0
- * @uses wp_insert_post()
+ * @uses wp_update_post()
  *
  * @param mixed $post Post ID or object.
  */
@@ -2876,7 +2876,7 @@
 		return;
 
 	$post->post_status = 'publish';
-	wp_insert_post( $post );
+	wp_update_post( $post );
 }
 
 /**
