Before submitting an issue please check that you’ve completed the following steps:
Made sure you’re on the latest version => commit 6a7f2f324a0f2fccdc35f046629da372f990e9ec
Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
When click restore original image, we delete only next-gen that is currently enabled instead of deleting all as same as on trunk or while delete next-gen
To Reproduce
Steps to reproduce the behavior:
install/activate imagify
upload image => webp is created
enable avif => avif created (if not created , click generate next-gen link)
click restore image in media library => only avif is deleted
Expected behavior
both webp and avif shall be deleted
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
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug When click restore original image, we delete only next-gen that is currently enabled instead of deleting all as same as on trunk or while delete next-gen
To Reproduce Steps to reproduce the behavior:
Expected behavior both webp and avif shall be deleted
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