[wp-trac] [WordPress Trac] #23306: WP_Image_Editor::make_image should call wp_mkdir_p
WordPress Trac
noreply at wordpress.org
Wed Jan 30 19:00:02 UTC 2013
#23306: WP_Image_Editor::make_image should call wp_mkdir_p
------------------------------------------------------+------------------
Reporter: batmoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch dev-feedback reporter-feedback |
------------------------------------------------------+------------------
Comment (by ryan):
We try to remove assumptions from core that an image file will actually
exist in the location where it is supposed to exist. If it does not exist
we fetch the image using the url and pretend we loaded it from disk from
the expected place. When we go to save it, the directory that contains the
file that doesn't really exist often also doesn't exist. This has to do
with replication plugins that put files in places like S3 or some other
remote image/file store. We must assume that there is no guarantee of
local storage consistency from one page load to another.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23306#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list