[BUG] Remove Files From Server
-
Hello,
When I upload a file to my media and it’s offloaded to my s3 bucket, WordPress as you know creates multiple versions of that image (thumbnail, small, etc) sizes.
The plugin deletes all but the last of the resized images every time. For example, 3 images are created but only the first 2 are deleted and the last one left in my local /uploads folder.
I debugged to see if it’s because the path was not generated when
remove_local_files()
ran, but that wasn’t the issue.if ( ! @unlink( $path ) ) {
runs for all 3 images but the last one isn’t removed.What’s going on?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[BUG] Remove Files From Server’ is closed to new replies.