From e527271f2c8d8f9ec07c3b3c707586c92f523bb8 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Tue, 27 Jun 2023 22:01:22 +0000 Subject: [PATCH] Site Health: Include new `WP_DEVELOPMENT_MODE` in the list of constants. Follow-up to [56042]. Props kebbet. Fixes #58646. See #57487. git-svn-id: https://develop.svn.wordpress.org/trunk@56079 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index 0bcc06954a..08a89fa90c 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -323,6 +323,11 @@ class WP_Debug_Data { 'value' => $wp_environment_type, 'debug' => $wp_environment_type, ), + 'WP_DEVELOPMENT_MODE' => array( + 'label' => 'WP_DEVELOPMENT_MODE', + 'value' => WP_DEVELOPMENT_MODE ? WP_DEVELOPMENT_MODE : __( 'Disabled' ), + 'debug' => WP_DEVELOPMENT_MODE, + ), 'DB_CHARSET' => array( 'label' => 'DB_CHARSET', 'value' => ( defined( 'DB_CHARSET' ) ? DB_CHARSET : __( 'Undefined' ) ),