Resurrect save_post action for back compat. fixes #2063

git-svn-id: https://develop.svn.wordpress.org/trunk@3291 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-12-12 00:30:14 +00:00
parent e225cc0e92
commit b74a303ec5
1 changed files with 1 additions and 0 deletions

View File

@ -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;