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

WordPress Trac noreply at wordpress.org
Thu Apr 30 14:51:51 UTC 2020


#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:  General        |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 in #44427, the feature to lazy load images by default was added.

 However it doesn't work on all images, only ones filterable with certain
 filters.

 One such example is the image /wp-includes/images/rss.png loaded by the
 RSS widget.

 Such images need a loading=lazy attribute added manually.

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


More information about the wp-trac mailing list