[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements
WordPress Trac
noreply at wordpress.org
Tue Dec 3 23:15:49 UTC 2019
#44427: Introduce lazy-loading API for media and other elements
--------------------------------------+--------------------------
Reporter: mor10 | Owner: flixos90
Type: feature request | Status: assigned
Priority: normal | Milestone: 5.4
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Comment (by spacedmonkey):
Another filter we may want to think about implement lazying loading in is
the header image that uses `get_header_image_tag`. In 99% of case, this
image will be loaded first on the page, making adding the filter a little
pointless. But maybe worth it for the sack of completeness.
I also reviewed the `get_custom_logo` function, but this seems to use
`wp_get_attachment_image`, which is already filtered.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list