WordPress.org

Ready to get started?Download WordPress

Forums

GEO my WordPress
Fails over HTTPS (2 posts)

  1. Chris
    Member
    Posted 5 months 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 5 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic