Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 662 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 662 Bytes

force-to-use-jquery-1-12-4

A simple plugin forces WordPress to use jQuery 1.12.4 and jQuery-migrate 1.4.1 from https://cdnjs.com

Yes, I know, these are the core versions out of the box. But my customer uses an aggressive theme that overrides the default jQuery version to an older one.

I've tried to install the "Version Control for jQuery" plugin. But it turned out that the evil theme is stronger than this plugin too.

My plugin overrides other settings, due to the higher priority in the hook. It can be used as a template for an emergency solution until a wiser solution is found.