This is a duplicate of https://wordpress.org/support/topic/jquery-is-not-defined-32/
However, the issue still exists.
My theme does not require jQuery, however when I am logged in the Admin toolbar contains the “Clear Cache” menu item with functional buttons which requires jQuery. Since I am not loading jQuery I get an error when logged in viewing my theme.
I do not want to load jQuery as it is not needed for my theme nor is it needed for anything else on the front end of my website.
Like “Zahnbuersten Test” suggests I thing the best thing would be for your plugin to add the jquery dependency when registering the “wp-fastest-cache/js/toolbar.js” file.
- The topic ‘jQuery is not defined’ is closed to new replies.