[wp-trac] [WordPress Trac] #57490: Cannot control lazy-loading behavior on a featured image
WordPress Trac
noreply at wordpress.org
Wed Jan 18 08:15:29 UTC 2023
#57490: Cannot control lazy-loading behavior on a featured image
--------------------------+------------------------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.2
Component: Media | Version: 5.5
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: performance |
--------------------------+------------------------------------------
When lazy-loading was introduced in WordPress 5.5, one crucial
customization point that was omitted (by accident) is checking whether
lazy-loading is enabled for a featured image.
As first reported in https://github.com/WordPress/gutenberg/issues/46789,
this means that it is impossible to control or remove `loading="lazy"`
attributes added to featured images.
The Gutenberg issue also refers to other problems some of which are
subject of #56930, but technically those problems are separate from this
one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57490>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list