[wp-trac] [WordPress Trac] #50041: Manually add loading=lazy in certain image tags loaded by WordPress

WordPress Trac noreply at wordpress.org
Sun Sep 5 00:46:15 UTC 2021


#50041: Manually add loading=lazy in certain image tags loaded by WordPress
---------------------------+------------------------------
 Reporter:  superpoincare  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Media          |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => needs-patch


Comment:

 For the RSS widget icon, the lazy-loading attribute is included in my
 patch on #52224.

 These two functions also create markup for images in the `wp-includes`
 directory:
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/embed.php?rev=51298#L1203 the_embed_site_title]
 - [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/formatting.php?rev=51657#L3309 translate_smiley]

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


More information about the wp-trac mailing list