{"id":8349264,"date":"2016-10-24T17:20:48","date_gmt":"2016-10-24T17:20:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-breaking-ssl-https\/"},"modified":"2016-10-24T17:20:48","modified_gmt":"2016-10-24T17:20:48","slug":"plugin-breaking-ssl-https","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-breaking-ssl-https\/","title":{"rendered":"Plugin breaking ssl (https)"},"content":{"rendered":"<p>Lars, it is lovely little plugin. My problem is that it broke my SSL as my webpage now showed the screenshot:<br \/>\n<code>http:\/\/s.wordpress.com\/mshots\/v1\/http%3A%2F%2Fmywebsite.com\/?w=600<\/code><br \/>\nThe very easy solution is to edit wp-screenshot\/wp-screenshot.php on line 15 to return HTTPS eg:<\/p>\n<pre><code>return &#039;&lt;img src=&quot;https:\/\/s.wordpress.com\/mshots\/v1\/http%3A%2F%2F&#039;.$content.&#039;?w=&#039; . esc_attr($width) . &#039;&quot; \/&gt;&#039;;\n<\/code><\/pre>\n<p>Simple little fix.<\/p>\n","protected":false},"template":"","class_list":["post-8349264","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8349264","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\/8349264\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8349264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}