[wp-trac] [WordPress Trac] #39875: PDF previews overwrite existing images with the same name.
WordPress Trac
noreply at wordpress.org
Thu Feb 16 18:25:40 UTC 2017
#39875: PDF previews overwrite existing images with the same name.
--------------------------+------------------------------
Reporter: gitlost | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by desrosj):
* keywords: => needs-patch
Comment:
Just did some testing locally and I was able to reproduce it using the
steps specified.
I tested the reverse scenario by uploading a PDF named `test.pdf` first
followed by uploading a JPG named `test.jpg`) and the JPG was renamed to
`test-1.jpg` correctly.
Not all thumbnail sizes are overwritten when this bug occurs, but the main
issue here is that the original `test.jpg` file is always overwritten by
the PDF preview image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39875#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list