WordPress.org

Support

Support » Plugins and Hacks » Fails over HTTPS

Fails over HTTPS

  • Chris

    @renaissancedesign

    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fails over HTTPS’ is closed to new replies.