Ticket #45989: 45989.6.diff
File 45989.6.diff, 1.0 KB (added by , 6 years ago) |
---|
-
src/wp-includes/class-wp-fatal-error-handler.php
26 26 * @since 5.2.0 27 27 */ 28 28 public function handle() { 29 // Bail if WordPress executed successfully.30 if ( defined( 'WP_EXECUTION_SUCCEEDED' ) && WP_EXECUTION_SUCCEEDED) {29 // Bail if headers already sent. 30 if ( headers_sent() ) { 31 31 return; 32 32 } 33 33 -
src/wp-settings.php
544 544 * @since 3.0.0 545 545 */ 546 546 do_action( 'wp_loaded' ); 547 548 /*549 * Store the fact that we could successfully execute the entire WordPress550 * lifecycle. This is used to skip the premature shutdown handler, as it cannot551 * be unregistered.552 */553 if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) {554 define( 'WP_EXECUTION_SUCCEEDED', true );555 }