Changeset 51223 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/23/2021 10:19:54 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r51211 r51223 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 3310 3303 /** 3311 3304 * Filters list of allowed mime types and file extensions.
Note: See TracChangeset
for help on using the changeset viewer.