[wp-trac] [WordPress Trac] #30394: Multiple edits with IMAGE_EDIT_OVERWRITE define enabled causes deletion of images
WordPress Trac
noreply at wordpress.org
Sun Jan 4 02:51:23 UTC 2015
#30394: Multiple edits with IMAGE_EDIT_OVERWRITE define enabled causes deletion of
images
--------------------------+-----------------------------
Reporter: hew | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31043"]:
{{{
#!CommitTicketReference repository="" revision="31043"
If `IMAGE_EDIT_OVERWRITE` is defined as `true`, ensure that multiple edits
to the same image does not result in the file being deleted (updating the
meta fails because the old and new paths are identical).
Props hew.
Fixes #30394.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30394#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list