Docs: Correct `wp_debug_mode()` description to clarify that `WP_DEBUG_DISPLAY` is true by default.
Props jrf. Fixes #34960. Built from https://develop.svn.wordpress.org/trunk@35882 git-svn-id: http://core.svn.wordpress.org/trunk@35846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d53a13ee87
commit
f0cdd8d0b4
|
@ -257,7 +257,8 @@ function timer_stop( $display = 0, $precision = 3 ) {
|
||||||
* Set PHP error reporting based on WordPress debug settings.
|
* Set PHP error reporting based on WordPress debug settings.
|
||||||
*
|
*
|
||||||
* Uses three constants: `WP_DEBUG`, `WP_DEBUG_DISPLAY`, and `WP_DEBUG_LOG`.
|
* 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
|
* When `WP_DEBUG` is true, all PHP notices are reported. WordPress will also
|
||||||
* display internal notices: when a deprecated WordPress function, function
|
* display internal notices: when a deprecated WordPress function, function
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-35881';
|
$wp_version = '4.5-alpha-35882';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue