mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@49908 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -270,6 +270,10 @@ class WP_Debug_Data {
|
||||
'label' => 'WP_PLUGIN_DIR',
|
||||
'value' => WP_PLUGIN_DIR,
|
||||
),
|
||||
'WP_MEMORY_LIMIT' => array(
|
||||
'label' => 'WP_MEMORY_LIMIT',
|
||||
'value' => WP_MEMORY_LIMIT,
|
||||
),
|
||||
'WP_MAX_MEMORY_LIMIT' => array(
|
||||
'label' => 'WP_MAX_MEMORY_LIMIT',
|
||||
'value' => WP_MAX_MEMORY_LIMIT,
|
||||
|
||||
Reference in New Issue
Block a user