WordPress.org

Forums

GEO my WordPress
Fails over HTTPS (2 posts)

  1. Chris
    Member
    Posted 1 year ago #

    Problem:
    Two URLs have hard-coded http protocol on lines 57 and 68 of geo-my-wp.php, causing a site served over https to error out over mixed/insecure content.

    Suggested fix:
    List the URLs as protocol-relative:

    wp_register_script( 'google-maps', '//maps.googleapis.com/maps/api/js?key='.$gmw_options['google_api'].'&sensor=false&libraries=places&region='.$gmw_options['country_code'],array(),false);

    wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');

    http://wordpress.org/plugins/geo-my-wp/

  2. Eyal Fitoussi
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you Chris.
    I will add the fix to the coming update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic