Changeset 53653 for trunk/src/wp-cron.php
- Timestamp:
- 07/05/2022 03:12:36 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-cron.php
r53426 r53653 19 19 ignore_user_abort( true ); 20 20 21 if ( ! headers_sent() ) { 22 header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); 23 header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); 24 } 25 21 26 /* Don't make the request block till we finish, if possible. */ 22 27 if ( PHP_VERSION_ID >= 70016 && function_exists( 'fastcgi_finish_request' ) ) { 23 if ( ! headers_sent() ) {24 header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );25 header( 'Cache-Control: no-cache, must-revalidate, max-age=0' );26 }27 28 28 fastcgi_finish_request(); 29 } elseif ( function_exists( 'litespeed_finish_request' ) ) { 30 litespeed_finish_request(); 29 31 } 30 32
Note: See TracChangeset
for help on using the changeset viewer.