[wp-trac] [WordPress Trac] #58089: Featured images within post content cause lazy-loading logic to apply incorrectly

WordPress Trac noreply at wordpress.org
Wed Apr 5 15:55:26 UTC 2023


#58089: Featured images within post content cause lazy-loading logic to apply
incorrectly
------------------------------------------+------------------------------
 Reporter:  flixos90                      |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Media                         |     Version:  5.9
 Severity:  normal                        |  Resolution:
 Keywords:  needs-testing-info has-patch  |     Focuses:  performance
------------------------------------------+------------------------------

Comment (by antpb):

 @joedolson found good reproduction steps for anyone testing this.

 ''In Twenty Twenty Three:

 1) Add the featured image block within the content of a page.
 2. Edit the Page template in the site editor, and remove the featured
 image block.
 On the resulting page, the Featured image, which is the first image on the
 page, retains the lazy loading attributes.
 ''

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


More information about the wp-trac mailing list