[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

WordPress Trac noreply at wordpress.org
Sat Jun 4 18:04:12 UTC 2022

#55652: Test tool and unit test improvements for 6.1
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by SergeyBiryukov):

 In [changeset:"53465" 53465]:
 #!CommitTicketReference repository="" revision="53465"
 Tests: Don't overwrite image metadata in a `wp_calculate_image_srcset()`
 test for zero width.

 This was unnecessarily replacing the original image metadata with a scaled
 version, leading to a few leftover images with the `-scaled` suffix in the
 `wp-content/uploads` directory.

 Follow-up to [35412].

 See #55652.

Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list