From 0da858ffae6b607be65206bc1dd641e99b1fa733 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 21 Jul 2020 16:18:53 +0000 Subject: [PATCH] Site Health: Rename `upload_max` array key in file upload checks to `max_effective_size` for clarity. Follow-up to [48535]. See #50038. git-svn-id: https://develop.svn.wordpress.org/trunk@48544 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-debug-data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index 0649562edf..f3793a0118 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -550,7 +550,7 @@ class WP_Debug_Data { 'label' => __( 'Max size of an uploaded file' ), 'value' => $upload_max_size, ); - $info['wp-media']['fields']['upload_max'] = array( + $info['wp-media']['fields']['max_effective_size'] = array( 'label' => __( 'Max effective file size' ), 'value' => size_format( $effective ), );