{"id":10750545,"date":"2018-10-04T16:37:40","date_gmt":"2018-10-04T16:37:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/https-support-39\/"},"modified":"2018-10-04T16:37:40","modified_gmt":"2018-10-04T16:37:40","slug":"https-support-39","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/https-support-39\/","title":{"rendered":"HTTPS support"},"content":{"rendered":"<p>Hi,<br \/>\nI&#8217;ve noticed that on a site visited using https the css for the plugin is still loaded using http &#8211; this causes the https page to be detected by newer browsers as insecure.<\/p>\n<p>I&#8217;ve traced this to the function mtf_scripts &#8211; where you have WP_PLUGIN_URL in the enqueue for the css file. That constant always returns an http:\/\/&#8230; version of the site address, but if you change it to use plugins_url() it will work for both http and https sites.<\/p>\n","protected":false},"template":"","class_list":["post-10750545","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10750545","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\/10750545\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10750545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}