Plugin Updates

This commit is contained in:
Tony Volpe
2024-04-02 20:23:21 +00:00
parent 96800520e8
commit 94170ec2c4
1514 changed files with 133309 additions and 105985 deletions

View File

@@ -948,7 +948,7 @@ abstract class AbstractProcess implements ProcessInterface {
$media->update_dimensions();
// Delete the WebP version.
$this->delete_nextgen_file( $original_path );
$this->delete_nextgen_file( $original_path, true );
// Restore the thumbnails.
$response = $this->restore_thumbnails();
@@ -989,7 +989,7 @@ abstract class AbstractProcess implements ProcessInterface {
* In that case we must also delete the next-gen file associated to the full size.
*/
$keep_full_next_gen = $media->get_raw_original_path() === $media->get_raw_fullsize_path();
$this->delete_nextgen_files( $keep_full_next_gen );
$this->delete_nextgen_files( $keep_full_next_gen, true );
// Generate new thumbnails.
return $media->generate_thumbnails();