From b74a303ec58a883cdb4621b54aa570bff2eeed3a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 12 Dec 2005 00:30:14 +0000 Subject: [PATCH] Resurrect save_post action for back compat. fixes #2063 git-svn-id: https://develop.svn.wordpress.org/trunk@3291 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions-post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions-post.php b/wp-includes/functions-post.php index 4aca223d4d..91e1ac18c3 100644 --- a/wp-includes/functions-post.php +++ b/wp-includes/functions-post.php @@ -202,6 +202,7 @@ function wp_insert_post($postarr = array()) { add_post_meta($post_ID, '_wp_page_template', $page_template, true); } + do_action('save_post', $post_ID); do_action('wp_insert_post', $post_ID); return $post_ID;