Support » Plugin: Disable Lazy Load » not working on WP 5.9

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Yes this is due to changes in WP 5.9. You can learn more in this review.

    Plugin Author Jeff Starr

    (@specialk)

    @andrewlazarev2022 If you (or anyone) can explain where the plugin is *not* working, it would enable me to investigate. I need to know specifically which images and where they are located (e.g., home page, single post, etc.). Also need to know if the images are within the post content, or somewhere else, like a sidebar or footer or something.

    Currently testing on default WordPress and the plugin seems to be working perfectly. So any clues as to where things aren’t working would be great. Thanks.

    Plugin Author Jeff Starr

    (@specialk)

    Another update: I did find one case where the plugin is not removing the lazy loading attribute: featured images. Featured images for some reason will continue to include the lazy attribute even if lazy loading is disabled via this plugin (i.e., the wp_lazy_loading_enabled hook). As far as I can tell, this is a bug with WordPress, and not the plugin.

    So as a temporary fix, I wrote a function that removes the lazy attribute from all featured images. This is a beta feature that’s not yet added to the main plugin hosted here at WordPress.org. Anyone who wants to test and leave feedback can download the beta version (3KB ZIP file). Let me know if this works and I’ll add it to the main plugin asap. Thank you.

    Thanks for providing the fix, it worked for me. Confirmed that 1.5 was not suppressing lazy on featured images, 1.6 changes them to loading=eager.

    Plugin Author Jeff Starr

    (@specialk)

    Thanks for reporting @nosilver4u. Will be pushing 1.6 out soon.

    Plugin Author Jeff Starr

    (@specialk)

    Version 1.6 now available, with implemented fix. Thanks all for reporting and providing infos.

    @andrewlazarev2022 Please consider updating your rating/review, thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this review.