Index: post.php
--- post.php Base (BASE)
+++ post.php Locally Modified (Based On LOCAL)
@@ -2518,6 +2518,7 @@
 				return 0;
 		}
 	} else {
+                do_action( 'pre_post_insert', $data, $postarr );
 		if ( isset($post_mime_type) )
 			$data['post_mime_type'] = stripslashes( $post_mime_type ); // This isn't in the update
 		// If there is a suggested ID, use it if not already present
