From a43c57cfc9c6e4764917c3435797ef88608e7066 Mon Sep 17 00:00:00 2001
From: jrfnl <github_nospam@adviesenzo.nl>
Date: Thu, 10 Dec 2015 01:40:02 +0100
Subject: [PATCH] Correct documentation for wp_debug_mode().

---
 src/wp-includes/load.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php
index 9d247ba..4d112f2 100644
--- a/src/wp-includes/load.php
+++ b/src/wp-includes/load.php
@@ -257,7 +257,10 @@ 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.
+ * `WP_DEBUG` and `WP_DEBUG_LOG` are set to `false` by default.
+ * `WP_DEBUG_DISPLAY` is set to `true` by default but this setting will
+ * only have an effect when `WP_DEBUG` is also 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
-- 
1.9.4.msysgit.2

