{"id":8847323,"date":"2017-02-25T13:43:49","date_gmt":"2017-02-25T13:43:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/https-problem-and-simple-fix\/"},"modified":"2017-02-25T13:43:49","modified_gmt":"2017-02-25T13:43:49","slug":"https-problem-and-simple-fix","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/https-problem-and-simple-fix\/","title":{"rendered":"HTTPS problem and simple fix"},"content":{"rendered":"<p>The plugin doesn&#8217;t call the plugin directory in a way which preserves &#8220;https&#8221; for secured sites.<\/p>\n<p>A simple fix is to edit advanced-post-slider.php<\/p>\n<p>And replace this:<br \/>\ndefine(&#8216;advps_url&#8217;,WP_PLUGIN_URL.&#8221;\/advanced-post-slider\/&#8221;);<\/p>\n<p>With this:<br \/>\n$awk_content_url = content_url();<br \/>\ndefine(&#8216;advps_url&#8217;,$awk_content_url.&#8221;\/plugins\/advanced-post-slider\/&#8221;);<\/p>\n","protected":false},"template":"","class_list":["post-8847323","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8847323","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\/8847323\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8847323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}