Make WordPress Core

Changeset 45230


Ignore:
Timestamp:
04/17/2019 11:59:13 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Site Health: Group WP_DEBUG-related constants together.

Props tmatsuur.
Fixes #46955.

File:
1 edited

Legend:

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

    r45221 r45230  
    239239                    'value' => WP_PLUGIN_DIR,
    240240                ),
     241                'WP_MAX_MEMORY_LIMIT' => array(
     242                    'label' => 'WP_MAX_MEMORY_LIMIT',
     243                    'value' => WP_MAX_MEMORY_LIMIT,
     244                ),
    241245                'WP_DEBUG'            => array(
    242246                    'label' => 'WP_DEBUG',
    243247                    'value' => WP_DEBUG ? __( 'Enabled' ) : __( 'Disabled' ),
    244248                    'debug' => WP_DEBUG,
    245                 ),
    246                 'WP_MAX_MEMORY_LIMIT' => array(
    247                     'label' => 'WP_MAX_MEMORY_LIMIT',
    248                     'value' => WP_MAX_MEMORY_LIMIT,
    249249                ),
    250250                'WP_DEBUG_DISPLAY'    => array(
Note: See TracChangeset for help on using the changeset viewer.