Site Health: Include value of EMPTY_TRASH_DAYS constant in debug data.

Follow-up to [44986], [45078], [58855].

Props deepakprajapati, desrosj, dhruvang21, SergeyBiryukov.
Fixes #64189.
Built from https://develop.svn.wordpress.org/trunk@61359


git-svn-id: http://core.svn.wordpress.org/trunk@60671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-12-07 06:49:35 +00:00
parent 5e940f833d
commit c2847c2520
2 changed files with 6 additions and 1 deletions

View File

@@ -1592,6 +1592,11 @@ class WP_Debug_Data {
'value' => $db_collate,
'debug' => $db_collate_debug,
),
'EMPTY_TRASH_DAYS' => array(
'label' => 'EMPTY_TRASH_DAYS',
'value' => EMPTY_TRASH_DAYS ? EMPTY_TRASH_DAYS : __( 'Empty value' ),
'debug' => EMPTY_TRASH_DAYS,
),
);
return array(

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61358';
$wp_version = '7.0-alpha-61359';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.