diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-19 12:43:44 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-09-19 12:43:44 +0000 |
| commit | 0b9d1b3be4a25d07c214c174916fcdc81e5ca15d (patch) | |
| tree | f927250c89e0fd7b9088a12540cfe1e2b48c79d8 /wp-inst/wp-includes/functions-post.php | |
| parent | 93053f4309be3c418840659e287852cd66f05748 (diff) | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@341 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions-post.php')
| -rw-r--r-- | wp-inst/wp-includes/functions-post.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/functions-post.php b/wp-inst/wp-includes/functions-post.php index 8681a85..d5f7b61 100644 --- a/wp-inst/wp-includes/functions-post.php +++ b/wp-inst/wp-includes/functions-post.php @@ -180,6 +180,8 @@ function wp_insert_post($postarr = array()) { add_post_meta($post_ID, '_wp_page_template', $page_template, true); } + do_action('wp_insert_post', $post_ID); + return $post_ID; } |
