[wp-trac] [WordPress Trac] #50909: WordPress 5.5 update adds height and width attributes to images

WordPress Trac noreply at wordpress.org
Tue Aug 11 23:35:25 UTC 2020


#50909: WordPress 5.5 update adds height and width attributes to images
--------------------------+------------------------------
 Reporter:  jeslen        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.5
 Severity:  critical      |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by jeslen):

 https://make.wordpress.org/core/2020/07/14/lazy-loading-images-in-5-5/

 This states that only images that already have both the width and height
 attributes set will have the lazy-loading applied. That's not the case
 here. Images without width or height are having them applied as well as
 the loading attribute. This is breaking site layouts more than a layout
 shift would.

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


More information about the wp-trac mailing list