[wp-trac] [WordPress Trac] #50384: @getimagesize bug for some images: Returns empty

WordPress Trac noreply at wordpress.org
Wed Jun 22 14:16:11 UTC 2022

#50384: @getimagesize bug for some images: Returns empty
 Reporter:  samwebdev          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  5.4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
Changes (by antpb):

 * keywords:   => reporter-feedback


 hi @samwebdev ! Thanks for this report. Looking at the function today I
 notice we are using `wp_getimagesize` which better accounts for edge cases
 like these. Is it possible for you to test this again using the latest
 WordPress to ensure this is still happening?

 Here's a link to the latest version of the code:

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

More information about the wp-trac mailing list