WordPress.org

Support

Support » Plugins and Hacks » WP GPX Maps » WP-GPX-Maps not working on http sites – fix here so solved!

WP-GPX-Maps not working on http sites – fix here so solved!

  • Hello,

    the plugin does not work on https sites as the Highcharts JS is always loaded from a http site and the script gets blocked then.

    Please just fix wp-gpx-maps.php line 58 from

    wp_register_script( 'highcharts', "http://code.highcharts.com/highcharts.js", array('jquery'), "2.3.3", true);

    to

    wp_register_script( 'highcharts', "//code.highcharts.com/highcharts.js", array('jquery'), "2.3.3", true);

    The script is then always loaded with the correct protocol.

    Cheers,
    Martin

    https://wordpress.org/plugins/wp-gpx-maps/

Viewing 1 replies (of 1 total)
  • Please fix this – in the new version it was still there so I had to repatch the file mentioned above for my HTTPS site.

    It really does not hurt the HTTP sites when you change it that way. 😉

    Thank you! 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘WP-GPX-Maps not working on http sites – fix here so solved!’ is closed to new replies.
Skip to toolbar