Bug in Google Map shortcode SSL HTTPS
-
My site uses SSL and the Google Maps shortcode would not work due to the http url used for googlemaps.
I found the file to modify;
shortcodes-ultimate/inc/core/shortcodes.php
This is in your plugins folder.The issue is line 974 of this file;
return '<div class="su-gmap su-responsive-media-' . $atts['responsive'] . su_ecssc( $atts ) . '"><iframe width="' . $atts['width'] . '" height="' . $atts['height'] . '" src="https://maps.google.com/maps?q=' . urlencode( su_scattr( $atts['address'] ) ) . '&output=embed"></iframe></div>';
Change this;
https://maps.google.com/maps?q='
to this;
https://maps.google.com/maps?q='
or this;
//maps.google.com/maps?q='
- The topic ‘Bug in Google Map shortcode SSL HTTPS’ is closed to new replies.