Opened 2 months ago
Last modified 2 weeks ago
#51856 new defect (bug)
loading="lazy" attribute bug
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.5.3 |
Component: | Media | Keywords: | needs-patch |
Focuses: | template | Cc: |
Description
Adding of loading="lazy" attribute cannot be prevented; even when placing
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
in functions.php. Further, loading="lazy" is added to all images, event to images in page templates (e.g. header.php), which already have loading="eager" attribute.
Change History (2)
Note: See
TracTickets for help on using
tickets.