{"id":7015014,"date":"2016-02-01T18:40:15","date_gmt":"2016-02-01T18:40:15","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/https-friendly-scripts-and-stylesheets\/"},"modified":"2016-08-31T01:10:30","modified_gmt":"2016-08-31T01:10:30","slug":"https-friendly-scripts-and-stylesheets","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/https-friendly-scripts-and-stylesheets\/","title":{"rendered":"HTTPS Friendly Scripts and Stylesheets"},"content":{"rendered":"<p>You need to add this<\/p>\n<p>\/\/Load http and https over \/\/<br \/>\n$located = str_replace(&#8216;http:\/\/&#8217;, &#8216;\/\/&#8217;, strtolower($located));<br \/>\n$located = str_replace(&#8216;https:\/\/&#8217;, &#8216;\/\/&#8217;, strtolower($located));<\/p>\n<p>to <\/p>\n<p>function video_central_enqueue_style<br \/>\nand<br \/>\nfunction video_central_enqueue_script<\/p>\n<p>Or provide a way to filter it so content is served on HTTPS sites without causing browser warnings.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/video-central\/<\/p>\n","protected":false},"template":"","class_list":["post-7015014","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7015014","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\/7015014\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7015014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}