HTTPS script load failure
-
I run my admin in SSL (ecommerce on the site).
The map admin fatally fails in Chrome due to mixed media requests.
Mixed Content: The page at ‘https://{domain}/wp-admin/admin.php?page=wp-google-maps-menu&action=edit&map_id=1’ was loaded over HTTPS, but requested an insecure resource ‘https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css’. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at ‘https://{domain}/wp-admin/admin.php?page=wp-google-maps-menu&action=edit&map_id=1’ was loaded over HTTPS, but requested an insecure stylesheet ‘https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css’. This request has been blocked; the content must be served over HTTPS.
I have tried this on several sites that use this plugin and can replicate the issue. If you change the lines 718 & 5074 to remove the explicit of https:// to be just // it will resolve the bug. Example:
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
wp_register_style('jquery-ui-smoothness', '//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css');
- The topic ‘HTTPS script load failure’ is closed to new replies.