[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 15:27:54 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 has-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 Ok here we go. Issue was caused by `../` in the test image directory path.

 [attachment:"51665.3.diff"] fixes the issue and adds a passing test that
 fails on trunk.

 My remaining concern is whether this is the correct location for the fix
 or if it can be moved to a higher/lower level.

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


More information about the wp-trac mailing list