Docs: Miscellaneous DocBlock corrections.

See #52628.
Built from https://develop.svn.wordpress.org/trunk@50916


git-svn-id: http://core.svn.wordpress.org/trunk@50525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2021-05-15 17:38:05 +00:00
parent bf11362dab
commit 63ea8284a3
10 changed files with 31 additions and 26 deletions

View File

@@ -25,13 +25,14 @@ if ( ! defined( 'ABSPATH' ) ) {
* The error_reporting() function can be disabled in php.ini. On systems where that is the case,
* it's best to add a dummy function to the wp-config.php file, but as this call to the function
* is run prior to wp-config.php loading, it is wrapped in a function_exists() check.
*
* Initialize error reporting to a known set of levels.
*
* This will be adapted in wp_debug_mode located in wp-includes/load.php based on WP_DEBUG.
* @see http://php.net/manual/en/errorfunc.constants.php List of known error levels.
*/
if ( function_exists( 'error_reporting' ) ) {
/*
* Initialize error reporting to a known set of levels.
*
* This will be adapted in wp_debug_mode() located in wp-includes/load.php based on WP_DEBUG.
* @see http://php.net/manual/en/errorfunc.constants.php List of known error levels.
*/
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 );
}