diff options
Diffstat (limited to 'wp-inst/wp-includes/functions-post.php')
| -rw-r--r-- | wp-inst/wp-includes/functions-post.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-inst/wp-includes/functions-post.php b/wp-inst/wp-includes/functions-post.php index 87c9e1a..f79be3e 100644 --- a/wp-inst/wp-includes/functions-post.php +++ b/wp-inst/wp-includes/functions-post.php @@ -155,9 +155,9 @@ function wp_insert_post($postarr = array()) { if ($post_status == 'publish') { do_action('publish_post', $post_ID); if ($post_pingback) - pingback($post_content, $post_ID); - do_enclose( $post_content, $post_ID ); - do_trackbacks($post_ID); + register_shutdown_function('pingback', $content, $post_ID); + register_shutdown_function('do_enclose', $content, $post_ID ); + register_shutdown_function('do_trackbacks', $post_ID); } else if ($post_status == 'static') { generate_page_rewrite_rules(); |
