Changeset 46458
- Timestamp:
- 10/10/2019 10:50:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-cron.php
r46142 r46458 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 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 25 28 fastcgi_finish_request(); 26 29 }
Note: See TracChangeset
for help on using the changeset viewer.