[Plugin: Use Google Libraries] Changes needed to use secure urls for sites with SSL
-
So far so good with the Use Google Libraries plugin, except that the javascript file loaded by the plugin (use-google-libraries/js/jQnc.js?ver=2.8.3 for me) is not loaded properly using https on my SSL site.
I’ve made the following change in the plugin to fix this problem, and would appreciate if the plugin can be updated to use the new code as well:
The code in question is found in the use-google-libraries.php file around line 141.
old code
$scripts->add( 'jquery-noconflict', WP_PLUGIN_URL . '/use-google-libraries/js/jQnc.js', array('jquery-core'));
new code
$scripts->add( 'jquery-noconflict', plugins_url('/use-google-libraries/js/jQnc.js'), array('jquery-core'));
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Use Google Libraries] Changes needed to use secure urls for sites with SSL’ is closed to new replies.