Make WordPress Core

Ticket #18738: 18738-wp_cron-fastcgi_finish.2.diff

File 18738-wp_cron-fastcgi_finish.2.diff, 440 bytes (added by tellyworth, 6 years ago)

Refresh older patch with conditional constant

  • src/wp-cron.php

     
    1616 * @package WordPress
    1717 */
    1818
     19if ( defined( 'WP_USE_FASTCGI_FINISH_REQUEST' ) && function_exists( 'fastcgi_finish_request' ) )
     20        fastcgi_finish_request();
     21
    1922ignore_user_abort(true);
    2023
    2124if ( !empty($_POST) || defined('DOING_AJAX') || defined('DOING_CRON') )