[wp-trac] [WordPress Trac] #50543: Media: wp_image_src_get_dimensions() may throw warning or return wrong values

WordPress Trac noreply at wordpress.org
Fri Jul 10 23:04:24 UTC 2020


#50543: Media: wp_image_src_get_dimensions() may throw warning or return wrong
values
-------------------------------------+---------------------
 Reporter:  azaozz                   |       Owner:  azaozz
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.5
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by azaozz):

 In [changeset:"48430" 48430]:
 {{{
 #!CommitTicketReference repository="" revision="48430"
 Media: Tiny logic fix in `wp_image_file_matches_image_meta()` after
 [48329]. No need to look in `sizes` if the full size image path/URL
 matches.

 See #50543.
 }}}

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


More information about the wp-trac mailing list