WordPress.org

Ready to get started?Download WordPress

Forums

WP GPX Maps
WP-GPX-Maps not working on http sites - fix here so solved! (2 posts)

  1. msebald
    Member
    Posted 5 months ago #

    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/

  2. msebald
    Member
    Posted 5 months ago #

    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! :-)

Reply

You must log in to post.

About this Plugin

About this Topic