Skip to content

Commit 92716c1

Browse files
authored
feat: Add support for avif image format #3015 (#3019)
1 parent 1a801d2 commit 92716c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Factory/PostFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ protected function is_image(WP_Post $post)
194194
'png',
195195
'svg',
196196
'webp',
197+
'avif',
197198
]);
198199

199200
return \in_array($check['ext'], $extensions);

0 commit comments

Comments
 (0)