wp-media / rocket-lazy-load

Standalone LazyLoad plugin for WordPress (based on WP Rocket)
https://wordpress.org/plugins/rocket-lazy-load/
GNU General Public License v3.0
24 stars 13 forks source link

CDN friendlyness #111

Open szepeviktor opened 4 years ago

szepeviktor commented 4 years ago

Hello!

ROCKET_LL_ASSETS_URL etc. URL-s are defined very early: thus CDN MU/plugins are not able to alter the URL of e.g. lazyload.min.js

Please use core functions (plugins_url, content_url) at the time of outputting the script tag. Thank you.

remyperona commented 4 years ago

Hi,

We're going to move away from constants like this at some point, so it will be something we're going to fix at the same time :)