summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/googlemaps.php')
-rw-r--r--plugins/jetpack/modules/shortcodes/googlemaps.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/shortcodes/googlemaps.php b/plugins/jetpack/modules/shortcodes/googlemaps.php
index 435e8da0..1871aff3 100644
--- a/plugins/jetpack/modules/shortcodes/googlemaps.php
+++ b/plugins/jetpack/modules/shortcodes/googlemaps.php
@@ -108,9 +108,7 @@ function jetpack_googlemaps_shortcode( $atts ) {
}
$url = substr( $url, 0, -5 );
- if ( is_ssl() ) {
- $url = str_replace( 'http://', 'https://', $url );
- }
+ $url = str_replace( 'http://', 'https://', $url );
$css_class = 'googlemaps';