[wp-trac] [WordPress Trac] #34528: Responsive Images: Don't add srcset attributes to animated gifs.

WordPress Trac noreply at wordpress.org
Fri Nov 6 14:02:33 UTC 2015


#34528: Responsive Images: Don't add srcset attributes to animated gifs.
--------------------------------------+------------------------
 Reporter:  joemcgill                 |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  4.4
Component:  Media                     |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by joemcgill):

 [attachment:34528.4.diff] includes the docs changes from
 [attachment:34528.3.diff] and streamlines the logic that checks for GIFs
 in `wp_cacluclate_image_srcset()` by flipping the conditionals.

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


More information about the wp-trac mailing list