Changeset 50447
- Timestamp:
- 02/27/2021 11:07:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-load.php
r49953 r50447 22 22 } 23 23 24 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 ); 24 /* 25 * The error_reporting() function can be disabled in php.ini. On systems where that is the case, 26 * it's best to add a dummy function to the wp-config.php file, but as this call to the function 27 * is run prior to wp-config.php loading, it is wrapped in a function_exists() check. 28 */ 29 if ( function_exists( 'error_reporting' ) ) { 30 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 ); 31 } 25 32 26 33 /*
Note: See TracChangeset
for help on using the changeset viewer.