[wp-trac] [WordPress Trac] #56588: WordPress puts "loading=lazy" on first image on archive page - wp_get_loading_attr_default bug

WordPress Trac noreply at wordpress.org
Wed Apr 5 15:45:04 UTC 2023


#56588: WordPress puts "loading=lazy" on first image on archive page -
wp_get_loading_attr_default bug
-------------------------------+--------------------------
 Reporter:  salvoaranzulla     |       Owner:  flixos90
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  6.3
Component:  Media              |     Version:  5.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  performance
-------------------------------+--------------------------
Changes (by flixos90):

 * keywords:  reporter-feedback needs-patch => reporter-feedback


Comment:

 @salvoaranzulla Can you please provide more detail on how the excerpts are
 rendered on the site where this bug occurs?

 A few more specific questions:
 * Are you using blocks for the excerpt?
 * Does some part of the theme or a plugin on your site call
 `the_content()` or `get_the_content()` for each of these posts?

 As mentioned above, I have been unable to replicate this bug without
 additional detail. The more information you can share on this, the better.

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


More information about the wp-trac mailing list