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', "https://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
Viewing 1 replies (of 1 total)
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.