This little PR solves a problem for us (@deliciousbrains) where the generated filename is not unique if the media files do not exist on the local server as is possible with WP Offload S3. We perform similar checks in a few other cases with WordPress core and this would allow us to make sure the generated filename is unique on S3 as well.
Hi there!
This little PR solves a problem for us (@deliciousbrains) where the generated filename is not unique if the media files do not exist on the local server as is possible with WP Offload S3. We perform similar checks in a few other cases with WordPress core and this would allow us to make sure the generated filename is unique on S3 as well.