Problem with JavaScript on SSL pages
-
Hi there,
First of all thanks for the plugin, its great!
I just have one query. The JS files included on the site don’t seem to account for SSL pages, so it would load them as “http://” rather than “https://” resources, which causes JavaScript to not load properly and cause insecure content issues on site.
I have corrected this by changing:
function get_plugin_directory(){ return WP_PLUGIN_URL . '/jquery-vertical-accordion-menu'; }to:
function get_plugin_directory(){ return plugins_url() . '/jquery-vertical-accordion-menu'; }Please see the bug here:
https://core.trac.ww.wp.xz.cn/ticket/13941Could this be changed for future versions as when I update the plugin this will obviously be overwritten?
Again, many thanks for the plug-in, its much appreciated!
Thanks
Peter
The topic ‘Problem with JavaScript on SSL pages’ is closed to new replies.