Support » Plugin: JQuery Accordion Menu Widget » Problem with JavaScript on SSL pages

  • Peter Anderson


    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';


    function get_plugin_directory(){
          return plugins_url() . '/jquery-vertical-accordion-menu';

    Please see the bug here:

    Could 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!



  • The topic ‘Problem with JavaScript on SSL pages’ is closed to new replies.