Before submitting an issue please check that you’ve completed the following steps:
Made sure you’re on the latest version => 2.2.2
Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
When enabling display next-gen while the next-gen filter is used, then disabling the filter, the UI is set to webP even though it was avif
To Reproduce
Steps to reproduce the behavior:
install and activate Imagify 2.2.2
enable avif
enable webp using filter => options are dimmed
disable the filter => next-gen options active with avif enabled
while
install and activate Imagify 2.2.2
enable avif
enable webp using filter => options are dimmed
enable display next-gen
disable the filter => next-gen options active with webP enabled
Expected behavior
Both scenarios shall be consistent either in keeping the previous value of the filter or setting it to default (shouldn't be affected by enabling Display next-gen option) => please refer to @wp-media/productimagify to confirm expectation
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Same will occur if before enabling the filter, the off option was selected for next-gen
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug When enabling display next-gen while the next-gen filter is used, then disabling the filter, the UI is set to webP even though it was avif
To Reproduce Steps to reproduce the behavior:
Expected behavior Both scenarios shall be consistent either in keeping the previous value of the filter or setting it to default (shouldn't be affected by enabling Display next-gen option) => please refer to @wp-media/productimagify to confirm expectation
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming