You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebP images not deleted when saved in backend after edit #375
@mehulkaklotar Nice catch! @felixarntz@adamsilverstein Can you please take a look at this and let me know if this is expected behavior and/or something that we should address sooner than later?
@mehulkaklotar Good catch indeed! I can confirm this is missing from our implementation. We should add support for deleting any backed up sources to our webp_uploads_remove_sources_files() function. It needs to cover:
Delete the sources files for each sizes within _wp_attachment_backup_sizes.
Delete the sources files from _wp_attachment_backup_sources.
Activity
mxbclang commentedon Jun 15, 2022
@mehulkaklotar Nice catch! @felixarntz @adamsilverstein Can you please take a look at this and let me know if this is expected behavior and/or something that we should address sooner than later?
felixarntz commentedon Jun 15, 2022
@mehulkaklotar Good catch indeed! I can confirm this is missing from our implementation. We should add support for deleting any backed up
sourcesto ourwebp_uploads_remove_sources_files()function. It needs to cover:sourcesfiles for each sizes within_wp_attachment_backup_sizes.sourcesfiles from_wp_attachment_backup_sources.#375 remove backup sizes files when deleted attachment
#375 remove backup sources files when deleted attachment
#375 test case to prove that webp versions of files not exist when de…
#375 test function comment fix
#375 - tests: asserts for not empty array added & attachment meta ass…