# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \wp-includes
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: post.php
--- post.php Base (BASE)
+++ post.php Locally Modified (Based On LOCAL)
@@ -2879,8 +2879,8 @@
 		do_action( 'post_updated', $post_ID, $post_after, $post_before);
 	}
 
-	do_action('save_post', $post_ID, $post);
-	do_action('wp_insert_post', $post_ID, $post);
+	do_action( 'save_post', $post_ID, $post, $update );
+	do_action( 'wp_insert_post', $post_ID, $post, $update );
 
 	return $post_ID;
 }
@@ -2965,8 +2965,8 @@
 	wp_transition_post_status( 'publish', $old_status, $post );
 
 	do_action( 'edit_post', $post->ID, $post );
-	do_action( 'save_post', $post->ID, $post );
-	do_action( 'wp_insert_post', $post->ID, $post );
+	do_action( 'save_post', $post->ID, $post, true );
+	do_action( 'wp_insert_post', $post->ID, $post, true );
 }
 
 /**
