{"id":4353784,"date":"2013-11-26T10:03:19","date_gmt":"2013-11-26T10:03:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/ssl-compatibility\/"},"modified":"2016-08-21T12:56:27","modified_gmt":"2016-08-21T12:56:27","slug":"ssl-compatibility","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/ssl-compatibility\/","title":{"rendered":"SSL compatibility"},"content":{"rendered":"<p>Hi! Thanks for the wonderful plugin. It works great.<\/p>\n<p>I recently traced a number of weird problems to the non-SSL links in SSL pages. Browsers refuse to load resources over non-SSL links when viewing an SSL page. This leads to blocking of CSS and JS from some of the plugins. More detail here: http:\/\/snippets.webaware.com.au\/snippets\/cleaning-up-wordpress-plugin-script-and-stylesheet-loads-over-ssl\/<\/p>\n<p>Could you fix upPrev to use a call to plugins_url() instead of WP_PLUGIN_URL, please? This change in line 102 of upprev.php worked wonders for me:<\/p>\n<pre><code>\/\/ $plugin_path = WP_PLUGIN_URL.&#039;\/&#039;.str_replace(basename( __FILE__),&quot;&quot;,plugin_basename(__FILE__));\n    $plugin_path = plugins_url().&#039;\/upprev\/&#039;;<\/code><\/pre>\n<p>Thanks in advance,<br \/>\nTigr<\/p>\n<p>https:\/\/wordpress.org\/plugins\/upprev\/<\/p>\n","protected":false},"template":"","class_list":["post-4353784","topic","type-topic","status-closed","hentry","topic-tag-ssl"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4353784","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\/4353784\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4353784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}