[wp-trac] [WordPress Trac] #52692: Checkbox to turn off lazy load for iframes

WordPress Trac noreply at wordpress.org
Tue Mar 2 21:10:11 UTC 2021


#52692: Checkbox to turn off lazy load for iframes
-------------------------------+------------------------------
 Reporter:  BlogAid            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  trunk
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by BlogAid):

 The two big ad agencies that most of my clients are with replied with
 this:
 "WordPress lazy loading will only affect the initial markup before our ads
 have been loaded -- it does this through PHP, so it’s done before the JS
 is added to the page. Since all the iframes our script wrapper inserts on
 to pages are dynamically loaded via Javascript, ads will load after
 WordPress adds the lazy loading attribute, this shouldn't impact ads."

 So, they are only affected by any type of optimization plugin that also
 uses JS for lazy loading of iframes.

 Some of the smaller ad agencies do not use these best practices, and
 likely will be impacted. I'll advise any folks using those agencies to
 check with them for what to do since there seems to be no chance of WP
 making this an easy option to turn off.

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


More information about the wp-trac mailing list