IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
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 ) { |
31 | | return; |
32 | | } |
33 | 29 | |
34 | 30 | try { |
35 | 31 | // Bail if no error found. |
… |
… |
|
42 | 38 | wp_recovery_mode()->handle_error( $error ); |
43 | 39 | } |
44 | 40 | |
45 | | // Display the PHP error template. |
46 | | $this->display_error_template(); |
| 41 | // Display the PHP error template if headers not sent. |
| 42 | if ( ! headers_sent() ) { |
| 43 | $this->display_error_template(); |
| 44 | } |
47 | 45 | } catch ( Exception $e ) { |
48 | 46 | // Catch exceptions and remain silent. |
49 | 47 | } |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
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 WordPress |
550 | | * lifecycle. This is used to skip the premature shutdown handler, as it cannot |
551 | | * be unregistered. |
552 | | */ |
553 | | if ( ! defined( 'WP_EXECUTION_SUCCEEDED' ) ) { |
554 | | define( 'WP_EXECUTION_SUCCEEDED', true ); |
555 | | } |