Make WordPress Core

Changeset 56079


Ignore:
Timestamp:
06/27/2023 10:01:22 PM (3 years ago)
Author:
flixos90
Message:

Site Health: Include new WP_DEVELOPMENT_MODE in the list of constants.

Follow-up to [56042].

Props kebbet.
Fixes #58646.
See #57487.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r56056 r56079  
    323323                                        'value' => $wp_environment_type,
    324324                                        'debug' => $wp_environment_type,
     325                                ),
     326                                'WP_DEVELOPMENT_MODE' => array(
     327                                        'label' => 'WP_DEVELOPMENT_MODE',
     328                                        'value' => WP_DEVELOPMENT_MODE ? WP_DEVELOPMENT_MODE : __( 'Disabled' ),
     329                                        'debug' => WP_DEVELOPMENT_MODE,
    325330                                ),
    326331                                'DB_CHARSET'          => array(
Note: See TracChangeset for help on using the changeset viewer.