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

WordPress Trac noreply at wordpress.org
Sun Nov 3 22:31:38 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 flixos90):

 @swissspidy
 > Might make sense to add the filter to `render_block` in addition to
 `widget_text_content`.

 I'm not sure about `render_block`, since that content would usually be
 covered already by `the_content` right?

 > Would be nice to add this attribute to `get_post_embed_html()` and
 whitelist the attribute accordingly in the oEmbed handler.

 +1

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


More information about the wp-trac mailing list