[wp-trac] [WordPress Trac] #36191: Support responsive images in WP_Customize_Media_Control

WordPress Trac noreply at wordpress.org
Thu Mar 24 03:19:45 UTC 2016


#36191: Support responsive images in WP_Customize_Media_Control
--------------------------+---------------------------------
 Reporter:  melchoyce     |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by joemcgill):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:36191.patch] updates the template in
 `WP_Customize_Media_Control::content_template()` to add `srcset` and
 `sizes` attributes when the relevant sizes are available. See
 [https://core.trac.wordpress.org/ticket/36191#comment:5 my previous
 comment] for caveats.

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


More information about the wp-trac mailing list