[wp-trac] [WordPress Trac] #56930: Block themes: improve omitting lazy-loading attribute on first content image/iframe

WordPress Trac noreply at wordpress.org
Fri Feb 3 19:12:05 UTC 2023


#56930: Block themes: improve omitting lazy-loading attribute on first content
image/iframe
--------------------------------------+--------------------------
 Reporter:  adamsilverstein           |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.2
Component:  Media                     |     Version:  5.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by flixos90):

 Thank you for giving this a detailed test @antonvlasenko!

 Looks like it works as expected, though I saw you made some edits to your
 report and initially had one failure in there. Was that just because of
 what you highlighted in your note (`npm run build:dev` overriding the
 fix)?

 That part is a known limitation right now; we will have to wait until
 #57471 has been committed (which includes https://github.com/WordPress
 /wordpress-develop/pull/3914/files#diff-
 136b3429427993c3d47e44fe6c9a046635aa8d2c78542a90c8a172468addcb78), then
 this will no longer be a problem.

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


More information about the wp-trac mailing list