[wp-trac] [WordPress Trac] #34931: Adding a filter to modify ratio differs when generating img srcset

WordPress Trac noreply at wordpress.org
Wed Dec 9 15:57:37 UTC 2015


#34931: Adding a filter to modify ratio differs when generating img srcset
-----------------------------------------+------------------------------
 Reporter:  mbcreation                   |       Owner:  joemcgill
     Type:  enhancement                  |      Status:  reviewing
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Media                        |     Version:  4.4
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------

Comment (by joemcgill):

 Got it. This does look like it may be a bug with the way the variance is
 calculated. I'd prefer to handle this edge case in the function itself
 first before introducing another filter for now.

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


More information about the wp-trac mailing list