mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01: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. Built from https://develop.svn.wordpress.org/trunk@49908 git-svn-id: http://core.svn.wordpress.org/trunk@49607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f05756219
commit
1fd05dee6e
@ -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,
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-alpha-49907';
|
||||
$wp_version = '5.7-alpha-49908';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user