Title: Bug with script dependencies
Last modified: May 25, 2020

---

# Bug with script dependencies

 *  ResolvedPlugin Author [pipfroschpress](https://wordpress.org/support/users/pipfroschpress/)
 * (@pipfroschpress)
 * [6 years ago](https://wordpress.org/support/topic/bug-with-script-dependencies/)
 * I’m the author reporting this bug. Simple to fix but may take few days as I need
   time to test.
 * The bug – when de-activating the migrate plugin, it unregisters the handle.
 * That is the wrong behavior.
 * What SHOULD happen –
 * When migrate is active, scripts that require “jquery-core” should also get “jquery-
   migrate” because scripts written for jquery-core in WordPress may actually need
   the migrate if jQuery 3.5.1 is being used.
 * When migrate is disabled, scripts that ask for “jquery-core” then only get 3.5.1
   but scripts that ask for “jquery” or “jquery-migrate” should still get it, so
   it should not be de-registered.
 * Hopefully I will have time to fix today and test in next few days and push the
   fix.

Viewing 1 replies (of 1 total)

 *  Plugin Author [pipfroschpress](https://wordpress.org/support/users/pipfroschpress/)
 * (@pipfroschpress)
 * [6 years ago](https://wordpress.org/support/topic/bug-with-script-dependencies/#post-12887336)
 * Found a second bug as well, so I fixed both and stayed up instead of sleeping
   to test the fix thoroughly. First plugin I’ve written in eons. Anyway both resolved.

Viewing 1 replies (of 1 total)

The topic ‘Bug with script dependencies’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pipfrosch-jquery.svg)
 * [Pipfrosch jQuery](https://wordpress.org/plugins/pipfrosch-jquery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pipfrosch-jquery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pipfrosch-jquery/)
 * [Active Topics](https://wordpress.org/support/plugin/pipfrosch-jquery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pipfrosch-jquery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pipfrosch-jquery/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [pipfroschpress](https://wordpress.org/support/users/pipfroschpress/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/bug-with-script-dependencies/#post-12887336)
 * Status: resolved