Skip to content

Commit f1395f6

Browse files
Fallback to WebP if PHP does not supported AVIF
1 parent a2943fa commit f1395f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/webp-uploads/tests/test-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public function test_it_should_return_default_transforms_when_filter_returns_non
372372
} else {
373373
$default_transforms = array(
374374
'image/jpeg' => array( 'image/webp' ),
375-
'image/webp' => array( 'image/avif' ),
375+
'image/webp' => array( 'image/webp' ),
376376
'image/avif' => array( 'image/avif' ),
377377
'image/png' => array( 'image/webp' ),
378378
);

0 commit comments

Comments
 (0)