[wp-trac] [WordPress Trac] #51665: wp_get_image_editor() ->save stopped creating the directory in 5.6-beta2-49360

WordPress Trac noreply at wordpress.org
Tue Nov 3 06:06:16 UTC 2020


#51665: wp_get_image_editor() ->save stopped creating the directory in
5.6-beta2-49360
-------------------------------------------------+-------------------------
 Reporter:  eemitch                              |       Owner:
                                                 |  mikeschroder
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.6
Component:  Media                                |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by p00ya):

 Fix looks good at first glance, though `wp_mkdir_p` is a scary beast.

 Updating the unit tests to cover this case would be a bonus.

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


More information about the wp-trac mailing list