Title: Static map link not using SSL
Last modified: August 21, 2016

---

# Static map link not using SSL

 *  Resolved [sathackr](https://wordpress.org/support/users/sathackr/)
 * (@sathackr)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/static-map-link-not-using-ssl/)
 * With the new SSL support modification, it seems the static map link was left 
   behind. Suggest changing line 308 of Maps.php
 * from:
 *     ```
       $url = 'https://maps.google.com/maps/api/staticmap?';
       ```
   
 * to
 *     ```
       $protocol = is_ssl() ? 'https' : 'http';
       $url = $protocol . '://maps.google.com/maps/api/staticmap?';
       ```
   
 * Otherwise the site still indicates non-ssl content and makes browsers unhappy.
 * Thanks!
 * [http://wordpress.org/plugins/pronamic-google-maps/](http://wordpress.org/plugins/pronamic-google-maps/)

Viewing 1 replies (of 1 total)

 *  [Leon Rowland](https://wordpress.org/support/users/zogot/)
 * (@zogot)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/static-map-link-not-using-ssl/#post-4158857)
 * Thanks for the report. We have fixed this in the development version. Expect 
   an update soon.

Viewing 1 replies (of 1 total)

The topic ‘Static map link not using SSL’ is closed to new replies.

 * ![](https://ps.w.org/pronamic-google-maps/assets/icon-256x256.png?rev=3194044)
 * [Pronamic Google Maps](https://wordpress.org/plugins/pronamic-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pronamic-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pronamic-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/pronamic-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pronamic-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pronamic-google-maps/reviews/)

## Tags

 * [https. SSL](https://wordpress.org/support/topic-tag/https-ssl/)

 * 1 reply
 * 2 participants
 * Last reply from: [Leon Rowland](https://wordpress.org/support/users/zogot/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/static-map-link-not-using-ssl/#post-4158857)
 * Status: resolved