{"id":8611491,"date":"2017-01-03T02:44:31","date_gmt":"2017-01-03T02:44:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/fix-https-insecure-warnings\/"},"modified":"2017-01-03T02:44:31","modified_gmt":"2017-01-03T02:44:31","slug":"fix-https-insecure-warnings","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/fix-https-insecure-warnings\/","title":{"rendered":"Fix https insecure warnings"},"content":{"rendered":"<p>If you are moving to https:\/\/ (and you should be) you may find you get loads of insecure content warnings  <code>&#039;(page) was loaded over HTTPS, but requested an insecure stylesheet &#039;http:\/\/fonts.googleapis.com\/css?family=Quicksand|Open+Sans&#039;. This request has been blocked; the content must be served over HTTPS<\/code><\/p>\n<p>This is caused by some hard coding that would likely have been fixed if this plugin was being maintained.  It was painful to find \ud83d\ude1b<\/p>\n<p>Here is how you can fix this yourself.<\/p>\n<p>You need to edit 3 files &#8211;<br \/>\n\/wp-content\/plugins\/recipe-card\/js\/post.js<br \/>\n\/wp-content\/plugins\/recipe-card\/js\/theme.js<br \/>\n\/wp-content\/plugins\/recipe-card\/yumprint-recipe.php<\/p>\n<p>In each of them search for <em>http:\/\/fonts.google<\/em> and insert an <em>s<\/em> to make it <em>http<strong>s<\/strong>:\/\/fonts.google<\/em><\/p>\n<p>The files are minimised so they are pretty difficult to read as they aren&#8217;t formatted well, but doing a search will find it.<\/p>\n<p>This worked to solve the issue on a site with many recipes.  <\/p>\n","protected":false},"template":"","class_list":["post-8611491","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8611491","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\/8611491\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8611491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}