{"id":10424122,"date":"2018-06-22T02:06:05","date_gmt":"2018-06-22T02:06:05","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/bug-https-requested-an-insecure-xmlhttprequest-endpoint\/"},"modified":"2018-06-22T02:06:05","modified_gmt":"2018-06-22T02:06:05","slug":"bug-https-requested-an-insecure-xmlhttprequest-endpoint","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/bug-https-requested-an-insecure-xmlhttprequest-endpoint\/","title":{"rendered":"BUG &#8211; HTTPS requested an insecure XMLHttpRequest endpoint"},"content":{"rendered":"<p>I have a new WP install with theme Twenty Seventeen and no active plugins.<br \/>\nThe chrome browser developers console is reporting an insecure XMLHttpRequest endpoint<\/p>\n<p>My https site is trying to include http content via function.js<br \/>\nhttp:\/\/webcache.googleusercontent.com   this needs to be https:\/\/webcache.googleusercontent.com<\/p>\n<p>I don&#8217;t know how to fix it.  This error is found on a number of WP sites I&#8217;m looking at, so its not my server or install.<\/p>\n<p>I believe its a WP bug.<\/p>\n<p>Thanks for your support. <\/p>\n<p>FULL CONSOLE ERROR MESSAGE<\/p>\n<p>JQMIGRATE: Migrate is installed, version 1.4.1<br \/>\nfunctions.js:33 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user&#8217;s experience. For more help, check https:\/\/xhr.spec.whatwg.org\/.<br \/>\nfile_get_contents @ functions.js:33<br \/>\nfunctions.js:34 Mixed Content: The page at &#8216;https:\/\/test.sunlakesofarizona.com\/&#8217; was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint &#8216;http:\/\/webcache.googleusercontent.com\/search?q=cache:https:\/\/test.sunlakesofarizona.com\/&#8217;. This request has been blocked; the content must be served over HTTPS.<br \/>\nfile_get_contents @ functions.js:34<br \/>\n2VM134 functions.js:34 Mixed Content: The page at &#8216;https:\/\/test.sunlakesofarizona.com\/&#8217; was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint &#8216;http:\/\/webcache.googleusercontent.com\/search?q=cache:https:\/\/test.sunlakesofarizona.com\/&#8217;. This request has been blocked; the content must be served over HTTPS.<br \/>\nfile_get_contents @ VM134 functions.js:34<br \/>\ngetResults @ VM134 functions.js:83<br \/>\n(anonymous) @ VM134 functions.js:152<\/p>\n","protected":false},"template":"","class_list":["post-10424122","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10424122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10424122\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10424122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}