check which plugins do load the same jquery
-
on a test site, not publicly reachable, I seem to have two versions of jquery.
I grepped for the library through my wp-content folder and found this:
myserver:/var/www/pacura.ru/web/wp-content/themes# grep -R -i 'jquery-ui.min.js' ../../wp-content/ ../../wp-content/plugins/thethe-sliding-panels/lib/lib.php: wp_register_script( 'jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js'); ../../wp-content/plugins/j-shortcodes/j-shortcodes.php: wp_register_script ('jquery-ui-core', "https://ajax.googleapis.com/ajax/libs/jqueryui/{$jquery_ui_version}/jquery-ui.min.js"); myserver:/var/www/pacura.ru/web/wp-content/themes#
these look to be loading the same library but different versions, right?
I googled a bit and I think there should be some wp_enqueue_script( ‘jquery-ui.min.js’ ); or similar to prevent it being loaded double, shouldn’t there? sorry for the ignorance I have no idea about js ??
should I tag those two plugins (both active on my site) and ask them to check or am I totally wrong here?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘check which plugins do load the same jquery’ is closed to new replies.