{"id":9316636,"date":"2017-07-13T17:00:41","date_gmt":"2017-07-13T17:00:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-not-https-compatible\/"},"modified":"2017-07-13T17:00:41","modified_gmt":"2017-07-13T17:00:41","slug":"plugin-not-https-compatible","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-not-https-compatible\/","title":{"rendered":"Plugin not HTTPS compatible"},"content":{"rendered":"<p>The plugin contains hard-coded HTTP URLs for jQuery which cause a mixed-content error on HTTPS sites.<\/p>\n<p>To fix, change lines 263-268 in includes\/jquery-colorbox-frontend.php by removing the protocol which is best practice:<\/p>\n<pre><code>if ($this-&gt;isTrue(&#039;debugMode&#039;)) {\n    $jQueryLibraryUrl = &quot;\/\/code.jquery.com\/jquery-&quot;.JQUERYLIBRARY_VERSION.&quot;.js&quot;;\n}\nelse {\n    $jQueryLibraryUrl = &quot;\/\/code.jquery.com\/jquery-&quot;.JQUERYLIBRARY_VERSION.&quot;.min.js&quot;;\n}\n<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-9316636","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9316636","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\/9316636\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9316636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}