Docs: Correct `wp_debug_mode()` description to clarify that `WP_DEBUG_DISPLAY` is true by default.
Props jrf. Fixes #34960. git-svn-id: https://develop.svn.wordpress.org/trunk@35882 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e7287de7f3
commit
c81f71b550
|
@ -257,7 +257,8 @@ function timer_stop( $display = 0, $precision = 3 ) {
|
|||
* Set PHP error reporting based on WordPress debug settings.
|
||||
*
|
||||
* Uses three constants: `WP_DEBUG`, `WP_DEBUG_DISPLAY`, and `WP_DEBUG_LOG`.
|
||||
* All three can be defined in wp-config.php, and by default are set to false.
|
||||
* All three can be defined in wp-config.php. By default, `WP_DEBUG` and
|
||||
* `WP_DEBUG_LOG` are set to false, and `WP_DEBUG_DISPLAY` is set to true.
|
||||
*
|
||||
* When `WP_DEBUG` is true, all PHP notices are reported. WordPress will also
|
||||
* display internal notices: when a deprecated WordPress function, function
|
||||
|
|
Loading…
Reference in New Issue