This PR changes the action happening when enabling the AVIF option. Instead of running the bulk optimize process, it runs the generate missing next-gen process, so already optimized or generated images should not be recreated for nothing.
Fixes #826
Type of change
[x] Bug fix (non-breaking change which fixes an issue).
Checklists
Feature validation
[x] I validated all the Acceptance Criteria. If possible, provide sreenshots or videos.
[x] I triggered all changed lines of code at least once without new errors/warnings/notices.
Code style
[x] I wrote self-explanatory code about what it does.
[x] I named variables and functions explicitely.
[x] I protected entry points against unexpected inputs.
Description
This PR changes the action happening when enabling the AVIF option. Instead of running the bulk optimize process, it runs the generate missing next-gen process, so already optimized or generated images should not be recreated for nothing.
Fixes #826
Type of change
Checklists
Feature validation
Code style