[wp-trac] [WordPress Trac] #34810: wp_calculate_image_srcset(): Reduce accepted aspect ratio difference

WordPress Trac noreply at wordpress.org
Tue Dec 1 20:57:44 UTC 2015


#34810: wp_calculate_image_srcset(): Reduce accepted aspect ratio difference
------------------------------+------------------------
 Reporter:  jaspermdegroot    |       Owner:  joemcgill
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by wonderboymusic):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35755"]:
 {{{
 #!CommitTicketReference repository="" revision="35755"
 Responsive Images: Currently images are included in the `srcset` if the
 aspect ratio difference is smaller than `0.01`. This number is too high,
 set it to `0.002`

 Props joemcgill.
 Fixes #34810.
 }}}

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


More information about the wp-trac mailing list