[wp-trac] [WordPress Trac] #52139: Twenty Twenty-One: Skip loading attribute on featured image instead of loading=eager
WordPress Trac
noreply at wordpress.org
Mon Dec 21 18:38:02 UTC 2020
#52139: Twenty Twenty-One: Skip loading attribute on featured image instead of
loading=eager
------------------------------+----------------------
Reporter: flixos90 | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6.1
Component: Bundled Theme | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"49860" 49860]:
{{{
#!CommitTicketReference repository="" revision="49860"
Twenty Twenty-One: Do not specify `loading=“eager”` for single post
thumbnails.
While `loading=“eager”` is a supported alternative to omitting the
attribute entirely, browsers follow the value of this attribute explicitly
when specified.
Specifying `eager` would prevent the user from receiving any additional
potential benefits implemented at the browser level, such as further
mechanisms to automatically decide which elements to lazy-load.
Props flixos90, ryelle, poena.
Fixes #52139.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52139#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list