WordPress.org

Make WordPress Core

Changeset 49908


Ignore:
Timestamp:
12/27/2020 07:25:48 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Add WP_MEMORY_LIMIT constant to debug info.

This complements the WP_MAX_MEMORY_LIMIT constant previously displayed there.

Props sanketchodavadiya, nre, talldanwp, noisysocks.
Fixes #51680.

File:
1 edited

Legend:

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

    r49676 r49908  
    270270                    'label' => 'WP_PLUGIN_DIR',
    271271                    'value' => WP_PLUGIN_DIR,
     272                ),
     273                'WP_MEMORY_LIMIT'     => array(
     274                    'label' => 'WP_MEMORY_LIMIT',
     275                    'value' => WP_MEMORY_LIMIT,
    272276                ),
    273277                'WP_MAX_MEMORY_LIMIT' => array(
Note: See TracChangeset for help on using the changeset viewer.