Forced dependencies
-
Hello,
I would like to know some more information about the dependencies of wpdiscuz on jquery.
Last weekend we found out that the website comments weren’t working.
After some debugging I figured out that there was no javascript loading at all from the plugin.When I searched for the reason it started to look more and more like the plugin wasn’t loading because it had a dependency on jquery
What we have on our website is the following.
We want to load all javascript in the footer including jquery.
As wordpress thinks jquery is very important, it doens’nt matter if I tell it to be in the footer and just puts it in the header.
So we deregistered jquery and hardcoded it in the footer.When I returned it to the queue wpdiscuz started working agian.
It seems that by removing the jquery from the registered scripts the dependency is gone and wpdiscuz doesn’t load its javascripts.
I would like to know if this assesement is correct and if there is anything to do about it our if you can build in a selection to tell the plugin to look for the registered or use a custom script.
THanks for your time and hope to hear from you soon.
Kind regards,
Jeroen
- The topic ‘Forced dependencies’ is closed to new replies.