[wp-trac] [WordPress Trac] #39875: PDF previews overwrite existing images with the same name.
WordPress Trac
noreply at wordpress.org
Fri Feb 17 22:18:46 UTC 2017
#39875: PDF previews overwrite existing images with the same name.
-------------------------------------+--------------------
Reporter: gitlost | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.3
Component: Media | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------
Changes (by desrosj):
* keywords: needs-patch => has-patch needs-testing
Comment:
Most recent patch uses the approach [hammered out in this week's Media
meeting (https://wordpress.slack.com/archives/core-
media/p1487364216001228).
Borrowed some code from `wp_save_image()`. For the minor release, there
will be some code duplication. I am going to whip up a different patch
moving the repeated code into a function for the next major release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39875#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list