Make WordPress Core

Changes between Initial Version and Version 19 of Ticket #59464


Ignore:
Timestamp:
10/09/2023 07:16:24 PM (16 months ago)
Author:
flixos90
Comment:

@spacedmonkey @joemcgill I've opened #59577 to focus on the lack of image loading optimization attributes on images within block templates, which is the other bug we found here (i.e. even if we fixed the missing dimensions, that bug would still apply). Therefore, I am refocusing this ticket specifically on the lack of dimension attributes on in-template images.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59464

    • Property Keywords needs-patch added
    • Property Summary changed from Images in 2024 theme do not have modern image features to Images hard-coded in block theme templates lack `width` and `height` attributes
    • Property Milestone changed from 6.4 to 6.5
  • Ticket #59464 – Description

    initial v19  
    1 Images in 2024 theme do not have modern image features, such as async decoding, fetch priority and lazy loading. All images hard coded into patterns should have height and width attributes.
     1All images hard coded into block templates and patterns should have height and width attributes (applies e.g. to the TT4 theme).
     2
     3It also prevents loading optimization attributes from being added to these images, so effectively this harms both load time performance and leads to layout shifts.