JQuery conflict with jquery-migrate
-
WordPress loads jquery-migrate since v3.6 by default on all pages. This ensures that deprecated (& removed) jquery functionality still works (such as function
live()
for binding events).Video-gallery enqueue its own version of jquery (1.10) from google code repo. This gets loaded after WP has loaded default version of jquery and jquery-migrate.
Now I get lots of errors on jquery code that depends on jquery-migrate to function.
Removing the video-gallery jquery 1.10 script fixes this issue and still activates the video gallery properly.
Why can’t huge-it video gallery make use of the default WP jquery?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘JQuery conflict with jquery-migrate’ is closed to new replies.