Ticket #47396: 47396-wp_get_nocache_headers.diff
File 47396-wp_get_nocache_headers.diff, 476 bytes (added by , 6 years ago) |
---|
-
wp-cron.php
diff --git a/wp-cron.php b/wp-cron.php index ca478e4..1e37608 100644
a b ignore_user_abort( true ); 20 20 21 21 /* Don't make the request block till we finish, if possible. */ 22 22 if ( function_exists( 'fastcgi_finish_request' ) && version_compare( phpversion(), '7.0.16', '>=' ) ) { 23 header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); 24 header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); 23 25 fastcgi_finish_request(); 24 26 } 25 27