Jquery migrate not enqueue’d, breaking site
-
Unsure if this is intentional or not with the new update, but since both scripts are being registered rather than enqueue’d jquery migrate is not being loaded. Themes/plugins that require it are still only going to call jquery as a dependency, so jquery migrate will never be loaded.
That requires me to enqueue jquery migrate myself, which sort of defeats the entire purpose of this plugin imo. The reason I’ve used it for so many years vs enqueue’ing the scripts myself was the set it and forget nature of the plugin.
Adding a settings page to enable or disable jquery migrate would be an acceptable middle ground imo, leaving it enabled by default since not doing so would break a number of sites.
OR at the very least, mentioning that if you have plugins or themes that require jquery migrate to enqueue the script with a code snippet to place in the functions.php.
I’ve rolled back to the previous version because of this and am considering ditching the plugin completely as I’m not too thrilled with current, and in my case, site breaking change.
- The topic ‘Jquery migrate not enqueue’d, breaking site’ is closed to new replies.