Changeset 50810 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/04/2021 02:43:36 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r50761 r50810 6540 6540 switch ( $type ) { 6541 6541 case 'image': 6542 $image_exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' );6542 $image_exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'webp' ); 6543 6543 return in_array( $ext, $image_exts, true ); 6544 6544
Note: See TracChangeset
for help on using the changeset viewer.