[BUG] towebp
filter always returns new filename, even when conversion was unsuccessful
#2875
Labels
towebp
filter always returns new filename, even when conversion was unsuccessful
#2875
Expected Behavior
When using the
towebp
filter, the original filename should be returned if the file could not be converted.Actual behavior
The filename is returned with
towebp
after it.Steps to reproduce behavior
If file is
white-castle.tif
, this still returnswhite-castle.webp
.Notes
towebp
filter, but that shouldn't affect solving this issue: fix: fix overwriting files with webp filter #2876What version of Timber are you using?
2.0.0
What version of WordPress are you using?
No response
What version of PHP are you using?
No response
How did you install Timber?
None
The text was updated successfully, but these errors were encountered: