WordPress plugin causes duplicate jquery source file include on different port

My website is configured in such way that admin section is on port 9999 and user facing section is on port 80.
When i do wp_enqueue_script with array(‘jquery’) as a dependency for my user facing plugin, WordPress includes extra reference to jquery file on port 9999 which is behind firewall and is unaccessible to users.
This causes lots of conflicts. How can I ensusure that I do not have duplicate jQuery source file includes?

Read more here: WordPress plugin causes duplicate jquery source file include on different port

Leave a Reply

Your email address will not be published. Required fields are marked *