[wp-trac] [WordPress Trac] #35030: Responsive Images: wrong source selected in iOS8
WordPress Trac
noreply at wordpress.org
Fri Mar 18 15:26:20 UTC 2016
#35030: Responsive Images: wrong source selected in iOS8
--------------------------------------+------------------------
Reporter: tonysandwich | Owner: joemcgill
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------
Comment (by joemcgill):
[attachment:35030.4.patch] fixes the failing tests after
[attachment:35030.3.patch] by replacing
`_get_image_size_array_from_name()` with
`_get_image_size_array_from_meta()`, passing the same meta that's being
used to calculate `srcset` attributes, instead of hard coding assumed
image widths into our tests. This also cleans up a few formatting issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35030#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list