diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
index 2fd570318d..192fa0b207 100644
a
|
b
|
class WP_Site_Health { |
2049 | 2049 | $post_max_size = ini_get( 'post_max_size' ); |
2050 | 2050 | $upload_max_size = ini_get( 'upload_max_filesize' ); |
2051 | 2051 | |
2052 | | if ( wp_convert_hr_to_bytes( $post_max_size ) !== wp_convert_hr_to_bytes( $upload_max_size ) ) { |
| 2052 | if ( wp_convert_hr_to_bytes( $post_max_size ) < wp_convert_hr_to_bytes( $upload_max_size ) ) { |
2053 | 2053 | $result['label'] = sprintf( |
2054 | 2054 | /* translators: 1: post_max_size, 2: upload_max_filesize */ |
2055 | | __( 'Mismatched "%1$s" and "%2$s" values.' ), |
| 2055 | __( '"%1$s" is smaller than "%2$s".' ), |
2056 | 2056 | 'post_max_size', |
2057 | 2057 | 'upload_max_filesize' |
2058 | 2058 | ); |
… |
… |
class WP_Site_Health { |
2061 | 2061 | '<p>%s</p>', |
2062 | 2062 | sprintf( |
2063 | 2063 | /* translators: 1: post_max_size, 2: upload_max_filesize */ |
2064 | | __( 'The settings for %1$s and %2$s are not the same, this could cause some problems when trying to upload files.' ), |
| 2064 | __( 'The setting for %1$s is smaller than %2$s, this could cause some problems when trying to upload files.' ), |
2065 | 2065 | '<code>post_max_size</code>', |
2066 | 2066 | '<code>upload_max_filesize</code>' |
2067 | 2067 | ) |