Changeset 48539
- Timestamp:
- 07/21/2020 03:51:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r48538 r48539 1974 1974 '<p>%s</p>', 1975 1975 sprintf( 1976 /* translators: %1$s: file_uploads %2$s: php.ini */1977 __( 'The %1$s directive in %2$s determines if uploading to is allowed in your WordPress.' ),1976 /* translators: 1: file_uploads, 2: php.ini */ 1977 __( 'The %1$s directive in %2$s determines if uploading files is allowed on your site.' ), 1978 1978 '<code>file_uploads</code>', 1979 1979 '<code>php.ini</code>' … … 1999 1999 '<p>%s</p>', 2000 2000 sprintf( 2001 /* translators: %1$s: file_uploads %2$s: 0 */2002 __( '%1$s is set to %2$s. You won\'t be able to upload files in your WordPress.' ),2001 /* translators: 1: file_uploads, 2: 0 */ 2002 __( '%1$s is set to %2$s. You won\'t be able to upload files on your site.' ), 2003 2003 '<code>file_uploads</code>', 2004 2004 '<code>0</code>' … … 2012 2012 2013 2013 if ( wp_convert_hr_to_bytes( $post_max_size ) !== wp_convert_hr_to_bytes( $upload_max_size ) ) { 2014 $result['label'] = __( 'Mismatched "post_max_size" and "upload_max_filesize" values.' ); 2014 $result['label'] = sprintf( 2015 /* translators: 1: post_max_size, 2: upload_max_filesize */ 2016 __( 'Mismatched "%1$s" and "%2$s" values.' ), 2017 'post_max_size', 2018 'upload_max_filesize' 2019 ); 2015 2020 $result['status'] = 'recommended'; 2016 2021 $result['description'] = sprintf( 2017 2022 '<p>%s</p>', 2018 2023 sprintf( 2019 /* translators: %1$s: post_max_size %2$s: upload_max_filesize */2024 /* translators: 1: post_max_size, 2: upload_max_filesize */ 2020 2025 __( 'The settings for %1$s and %2$s are not the same, this could cause some problems when trying to upload files.' ), 2021 2026 '<code>post_max_size</code>',
Note: See TracChangeset
for help on using the changeset viewer.