[wp-trac] [WordPress Trac] #33641: Add support for responsive images using srcset and sizes

WordPress Trac noreply at wordpress.org
Thu Oct 8 01:26:33 UTC 2015


#33641: Add support for responsive images using srcset and sizes
----------------------------+--------------------------
 Reporter:  joemcgill       |       Owner:  DH-Shredder
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.4
Component:  Media           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------------

Comment (by kraftbj):

 Replying to [comment:21 joemcgill]:
 > Good catch. Maybe we could simplify and just do a `if ( ! empty(
 $image_width ) )` check there.

 Need more coffee. That's the way to go. Adding patch that ` if ( empty (
 $img_width ) )` and adjusts the inline doc above to match var names.

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


More information about the wp-trac mailing list