Ticket #18738: 18738-wp_cron-fastcgi_finish.3.diff
File 18738-wp_cron-fastcgi_finish.3.diff, 506 bytes (added by , 6 years ago) |
---|
-
src/wp-cron.php
18 18 19 19 ignore_user_abort( true ); 20 20 21 /* Don't make the request block till we finish, if possible. */ 22 if ( function_exists( 'fastcgi_finish_request' ) && version_compare( phpversion(), '7.0.16', '>=' ) ) 23 fastcgi_finish_request(); 24 21 25 if ( ! empty( $_POST ) || defined( 'DOING_AJAX' ) || defined( 'DOING_CRON' ) ) { 22 26 die(); 23 27 }