[wp-trac] [WordPress Trac] #35030: Responsive Images: wrong source selected in iOS8
    WordPress Trac 
    noreply at wordpress.org
       
    Fri Mar 18 00:12:27 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 azaozz):
 Replying to [comment:22 jaspermdegroot]:
 Yes, probably better to do it right in the loop. A simple `array_merge()`
 would do it, no need of anything more? Also no need of specific tests for
 it in that case? It's like testing if array_merge() works.
 In 35030.2.patch: simplify 35030.1.patch and use array_merge() to ensure
 the src URL is first in the srcset only in iOS.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35030#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list