HTTPS for external ressources
-
Hello,
I am a happy (French) user of your plugin.
However, the wp-admin dir of my sites is secured with HTTPS and browsers blocks the inclusion of static resources of your plugin (jQuery) because the URLs are statically defined with HTTP.Can you please change the code to dynamic change the jQuery URL when the site is hosted in HTTPS ?
Below is a code example:
# jQuery FRAMEWORK if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>'; } else { echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>'; }
Thank you in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘HTTPS for external ressources’ is closed to new replies.