[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
Mon Nov 9 06:19: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 has-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by mikeschroder):

 [attachment:"51665.4.diff"] resolves the failures in
 [attachment:"51665.3.diff"] by using `realpath()` in the new test, rather
 than in `bootstrap.php`.

 I'm not sure if this is the ideal way to do this, but it preserves the
 expectations other tests currently have.

 @johnbillion Does this seem okay to you, or would you prefer to resolve it
 a different way?

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


More information about the wp-trac mailing list