src/wp-admin/plugins.php 1 location
|
@@ 158-160 (lines=3) @@
|
| 155 |
|
if ( is_wp_error($valid) ) |
| 156 |
|
wp_die($valid); |
| 157 |
|
|
| 158 |
|
if ( ! WP_DEBUG ) { |
| 159 |
|
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR ); |
| 160 |
|
} |
| 161 |
|
|
| 162 |
|
@ini_set('display_errors', true); //Ensure that Fatal errors are displayed. |
| 163 |
|
// Go back to "sandbox" scope so we get the same errors as before |
src/wp-includes/load.php 1 location
|
@@ 333-335 (lines=3) @@
|
| 330 |
|
ini_set( 'log_errors', 1 ); |
| 331 |
|
ini_set( 'error_log', WP_CONTENT_DIR . '/debug.log' ); |
| 332 |
|
} |
| 333 |
|
} else { |
| 334 |
|
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR ); |
| 335 |
|
} |
| 336 |
|
|
| 337 |
|
if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { |
| 338 |
|
@ini_set( 'display_errors', 0 ); |