Make WordPress Core


Ignore:
Timestamp:
05/15/2021 05:36:49 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #52628.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-load.php

    r50914 r50916  
    2626 * it's best to add a dummy function to the wp-config.php file, but as this call to the function
    2727 * 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.
    3328 */
    3429if ( 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     */
    3536    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 );
    3637}
Note: See TracChangeset for help on using the changeset viewer.