Changeset 59358
- Timestamp:
- 11/06/2024 12:37:33 AM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r59315 r59358 3102 3102 $real_mime = wp_get_image_mime( $file ); 3103 3103 3104 $heic_images_e tx= array(3104 $heic_images_extensions = array( 3105 3105 'heif', 3106 3106 'heics', … … 3108 3108 ); 3109 3109 3110 if ( $real_mime && ( $real_mime !== $type || in_array( $ext, $heic_images_e tx, true ) ) ) {3110 if ( $real_mime && ( $real_mime !== $type || in_array( $ext, $heic_images_extensions, true ) ) ) { 3111 3111 /** 3112 3112 * Filters the list mapping image mime types to their respective extensions.
Note: See TracChangeset
for help on using the changeset viewer.