Changeset 58849 for trunk/src/wp-includes/post.php
- Timestamp:
- 08/05/2024 04:11:40 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r58437 r58849 6830 6830 switch ( $type ) { 6831 6831 case 'image': 6832 $image_exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'webp', 'avif' );6832 $image_exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'webp', 'avif', 'heic' ); 6833 6833 return in_array( $ext, $image_exts, true ); 6834 6834
Note: See TracChangeset
for help on using the changeset viewer.