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
|
b
|
function timer_stop( $display = 0, $precision = 3 ) { |
257 | 257 | * Set PHP error reporting based on WordPress debug settings. |
258 | 258 | * |
259 | 259 | * Uses three constants: `WP_DEBUG`, `WP_DEBUG_DISPLAY`, and `WP_DEBUG_LOG`. |
260 | | * All three can be defined in wp-config.php, and by default are set to false. |
| 260 | * All three can be defined in wp-config.php. |
| 261 | * `WP_DEBUG` and `WP_DEBUG_LOG` are set to `false` by default. |
| 262 | * `WP_DEBUG_DISPLAY` is set to `true` by default but this setting will |
| 263 | * only have an effect when `WP_DEBUG` is also set to `true`. |
261 | 264 | * |
262 | 265 | * When `WP_DEBUG` is true, all PHP notices are reported. WordPress will also |
263 | 266 | * display internal notices: when a deprecated WordPress function, function |