Changeset 50916 for trunk/src/wp-load.php
- Timestamp:
- 05/15/2021 05:36:49 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-load.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-load.php
r50914 r50916 26 26 * it's best to add a dummy function to the wp-config.php file, but as this call to the function 27 27 * is run prior to wp-config.php loading, it is wrapped in a function_exists() check. 28 *29 * Initialize error reporting to a known set of levels.30 *31 * This will be adapted in wp_debug_mode located in wp-includes/load.php based on WP_DEBUG.32 * @see http://php.net/manual/en/errorfunc.constants.php List of known error levels.33 28 */ 34 29 if ( function_exists( 'error_reporting' ) ) { 30 /* 31 * Initialize error reporting to a known set of levels. 32 * 33 * This will be adapted in wp_debug_mode() located in wp-includes/load.php based on WP_DEBUG. 34 * @see http://php.net/manual/en/errorfunc.constants.php List of known error levels. 35 */ 35 36 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 ); 36 37 }
Note: See TracChangeset
for help on using the changeset viewer.