mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 08:10:04 +00:00
Make posting faster. Fixes #1580 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2828 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user