{"id":9907847,"date":"2018-01-27T00:41:22","date_gmt":"2018-01-27T00:41:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/https-issue-19\/"},"modified":"2018-01-27T00:41:22","modified_gmt":"2018-01-27T00:41:22","slug":"https-issue-19","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/https-issue-19\/","title":{"rendered":"https issue"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m trying to help a friend out with a legacy site, who&#8217;s not getting the padlock for https. It&#8217;s because of this line in legalPages.php:<\/p>\n<p>347  wp_enqueue_script( &#8216;jquery-cookie&#8217;,  $this-&gt;plugin_url. &#8216;js\/jquery.cookie.js&#8217;, array(&#8216;jquery&#8217;) );<\/p>\n<p>&#8230; even though all the rest of the site is https, this is resolving to http, and thus giving the broken padlock.<\/p>\n<p>I&#8217;ve hardcoded it as a temporary fix, but do you think it&#8217;s a plugin issue or has plugin_url been updated in newer versions of WP to sort this?<\/p>\n","protected":false},"template":"","class_list":["post-9907847","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9907847","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\/9907847\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9907847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}