[wp-trac] [WordPress Trac] #23306: WP_Image_Editor::make_image should call wp_mkdir_p

WordPress Trac noreply at wordpress.org
Mon Jan 28 10:12:32 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  |
------------------------------------+------------------
Changes (by markoheijnen):

 * keywords:  has-patch => has-patch dev-feedback
 * version:   => 3.5
 * milestone:  Awaiting Review => 3.6


Comment:

 We can probably do that. Still WP_Image_Editor is a very abstracted class
 and the default folder is the folder itself.

 So you can also see it that the developer should deal with it. Most likely
 because of you want to call wp_mkdir_p before you even going to load an
 image. This means that this patch only fixes 50%. What can be good enough.

 Put it on the 3.6 milestone for consideration.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23306#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list