[wp-trac] [WordPress Trac] #39875: PDF previews overwrite existing images with the same name.

WordPress Trac noreply at wordpress.org
Mon Feb 27 05:21:55 UTC 2017


#39875: PDF previews overwrite existing images with the same name.
-------------------------------------+------------------------
 Reporter:  gitlost                  |       Owner:  joemcgill
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.7.3
Component:  Media                    |     Version:  4.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------

Comment (by mikeschroder):

 I liked the random string for consistency's sake with other resizing, but
 I'm okay with this approach.

 I'd be more comfortable if we stopped accessing `/tmp/` directly, but
 otherwise this looks okay.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39875#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list