[wp-trac] [WordPress Trac] #35030: Responsive Images: wrong source selected in iOS8

WordPress Trac noreply at wordpress.org
Thu Mar 17 01:30:31 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):

 @jaspermdegroot looks like the patch needs a refresh, but generally, this
 looks good. Wondering if we could use an `array_push()` to prepend a
 source when `$is_src` is true to avoid using two separate array. We should
 also add some inline docs explaining why we're forcing the `src` to the
 front of the `srcset` list.

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


More information about the wp-trac mailing list