WordPress.org

Make WordPress Core

Changeset 2828


Ignore:
Timestamp:
08/30/2005 11:19:32 PM (13 years ago)
Author:
matt
Message:

Make posting faster. Fixes #1580 for 1.6

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-functions.php

    r2798 r2828  
    514514    // Send the GET request
    515515    $request = "GET $path HTTP/1.1\r\nHost: $host\r\nUser-Agent: WordPress/$wp_version PHP/" . phpversion() . "\r\n\r\n";
    516     ob_end_flush();
     516//  ob_end_flush();
    517517    fputs($fp, $request);
    518518
  • trunk/wp-includes/functions-post.php

    r2753 r2828  
    156156        do_action('publish_post', $post_ID);
    157157        if ($post_pingback)
    158             pingback($post_content, $post_ID);
    159         do_enclose( $post_content, $post_ID );
    160         do_trackbacks($post_ID);
     158            register_shutdown_function('pingback', $content, $post_ID);
     159        register_shutdown_function('do_enclose', $content, $post_ID );
     160        register_shutdown_function('do_trackbacks', $post_ID);
    161161    }   else if ($post_status == 'static') {
    162162        generate_page_rewrite_rules();
Note: See TracChangeset for help on using the changeset viewer.