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
This commit is contained in:
Sergey Biryukov 2020-07-21 16:18:53 +00:00
parent 7bcdf886c0
commit 0da858ffae

View File

@ -550,7 +550,7 @@ class WP_Debug_Data {
'label' => __( 'Max size of an uploaded file' ), 'label' => __( 'Max size of an uploaded file' ),
'value' => $upload_max_size, 'value' => $upload_max_size,
); );
$info['wp-media']['fields']['upload_max'] = array( $info['wp-media']['fields']['max_effective_size'] = array(
'label' => __( 'Max effective file size' ), 'label' => __( 'Max effective file size' ),
'value' => size_format( $effective ), 'value' => size_format( $effective ),
); );