[wp-trac] [WordPress Trac] #34678: Responsive Images: Check if content images already have a sizes attribute

WordPress Trac noreply at wordpress.org
Tue Nov 24 20:10:09 UTC 2015


#34678: Responsive Images: Check if content images already have a sizes attribute
----------------------------+---------------------
 Reporter:  jaspermdegroot  |       Owner:  azaozz
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.4
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by azaozz):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Right. After the above chat in #feature-respimg in Slack, agree it's
 probably best to leave it as-is for now. If plugins and themes add lone
 `sizes` attributes, they will need they will need to ensure the proper
 `srcset` is added by the display filter.

 This may change when we add support for `srcset` and `sizes` to images
 inserted in the editor.

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


More information about the wp-trac mailing list