[wp-trac] [WordPress Trac] #52826: New wp_getimagesize() causing unexpected failures

WordPress Trac noreply at wordpress.org
Tue Apr 20 03:02:10 UTC 2021

#52826: New wp_getimagesize() causing unexpected failures
 Reporter:  terriann                             |       Owner:  whyisjake
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7.1
Component:  Media                                |     Version:  5.7
 Severity:  critical                             |  Resolution:  fixed
 Keywords:  has-patch fixed-major needs-testing  |     Focuses:

Comment (by peterwilsoncc):

 In [changeset:"50771" 50771]:
 #!CommitTicketReference repository="" revision="50771"
 Build/Test Tools: Add seeking support to stream test library.

 Introduces seeking to the `WP_Test_Stream` stream wrapper. This allows the
 testing of `wp_getimagesize()` and `wp_read_image_metadata()` among
 others. Includes tests for the latter.

 Props hellofromTonya.
 Fixes #52922.
 See #52826.

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

More information about the wp-trac mailing list