[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:24:55 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 antonvlasenko):

 > Was that just because of what you highlighted in your note (npm run
 build:dev overriding the fix)?

 Yes, that's absolutely correct, @flixos90! I had to edit the test report
 when I realized why the fix "wasn't working."
 Also, I've reviewed the code. It looks good to me, although I'm not an
 expert on rendering `core/image` blocks.

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


More information about the wp-trac mailing list