From 1fd05dee6e80a592be1640beff78a462d6bb7caf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 27 Dec 2020 19:27:06 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-debug-data.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index c52f0058b3..f68233dd61 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -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, diff --git a/wp-includes/version.php b/wp-includes/version.php index 4977c6a3cf..b061079c8b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.