Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The latest update is supported by websites with https scheme too.

    Could you send me the link to the webpage with the map inserted to check it in detail, please?

    Best regards.

    Thread Starter PowieT

    (@powiet)

    Yes, https://skyspots.de/karte

    Chrome:
    Mixed Content: The page at ‘https://skyspots.de/karte/’ was loaded over HTTPS, but requested an insecure script ‘http://maps.google.com/maps/api/js?sensor=false&language=de&callback=cpm_init’. This request has been blocked; the content must be served over HTTPS.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Could you reinstall the plugin, and let me know, please?

    or Simply in your copy of the plugin, specifically in the “/wp-content/plugins/codepeople-post-map/js/cpm.js” file, replace the piece of code:

    script.src='http://maps.google.com/maps/api/js?sensor=false'+((typeof cpm_language != 'undefined' && cpm_language.lng) ? '&language='+cpm_language.lng: '')+'&callback=cpm_init';

    with

    script.src=(( typeof window.location.protocol != 'undefined' ) ? window.location.protocol : 'http:' )+'//maps.google.com/maps/api/js?callback=cpm_init'+((typeof cpm_language != 'undefined' && cpm_language.lng) ? '&language='+cpm_language.lng: '');

    and then, clear the browser’s cache.

    Best regards.

    Thread Starter PowieT

    (@powiet)

    YES this works, after complete reinstalling it uses https!

    Deactivate/activate hasent no impact.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, I’ve visited your webpage and the map is there.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘https’ is closed to new replies.