Resurrect save_post action for back compat. fixes #2063

git-svn-id: http://svn.automattic.com/wordpress/trunk@3291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-12-12 00:30:14 +00:00
parent 93cd8402f2
commit b5da83787d
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;