[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements

WordPress Trac noreply at wordpress.org
Thu Nov 14 14:24:19 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):

 In [https://core.trac.wordpress.org/attachment/ticket/44427/44427.5.diff
 44427.5.diff] made a couple of key changes.

 - Add lazy loading attr on smiley images.
 - Add filter the `the_excerpt`
 - Add filter the `comment_text`

 I looked at ending the filter to `widget_text_content`, but I am sure of
 how much of a benefit this is.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list