Changeset 51211
- Timestamp:
- 06/22/2021 11:11:02 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r51198 r51211 3301 3301 } 3302 3302 3303 // Add WebP if the server supports it. 3304 unset( $t['webp'] ); 3305 3306 if ( wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ) ) { 3307 $t['webp'] = 'image/webp'; 3308 } 3309 3303 3310 /** 3304 3311 * Filters list of allowed mime types and file extensions. -
trunk/src/wp-includes/script-loader.php
r51160 r51211 852 852 'file_exceeds_size_limit' => __( '%s exceeds the maximum upload size for this site.' ), 853 853 'zero_byte_file' => __( 'This file is empty. Please try another.' ), 854 'invalid_filetype' => __( 'Sorry, this file type is not permitted for security reasons.' ),854 'invalid_filetype' => __( 'Sorry, this file type is not supported.' ), 855 855 'not_an_image' => __( 'This file is not an image. Please try another.' ), 856 856 'image_memory_exceeded' => __( 'Memory exceeded. Please try another smaller file.' ),
Note: See TracChangeset
for help on using the changeset viewer.