Make WordPress Core

Ticket #47396: 47396.diff

File 47396.diff, 464 bytes (added by kingkero, 6 years ago)
  • wp-cron.php

    diff --git a/wp-cron.php b/wp-cron.php
    index ca478e4..82d5fa3 100644
    a b ignore_user_abort( true ); 
    2020
    2121/* Don't make the request block till we finish, if possible. */
    2222if ( function_exists( 'fastcgi_finish_request' ) && version_compare( phpversion(), '7.0.16', '>=' ) ) {
     23        header( 'Cache-Control: no-store, no-cache, must-revalidate, max-age=0' );
     24        header( 'Pragma: no-cache' );
    2325        fastcgi_finish_request();
    2426}
    2527