{"id":12579674,"date":"2020-03-24T19:02:49","date_gmt":"2020-03-24T19:02:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/hard-coded-url\/"},"modified":"2020-03-24T19:12:52","modified_gmt":"2020-03-24T19:12:52","slug":"hard-coded-url","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/hard-coded-url\/","title":{"rendered":"Hard-coded URL"},"content":{"rendered":"<p>Hi Milan!<br \/>\nCool plugin!<br \/>\nI am wondering why you are using a hard-coded URL in:<br \/>\n\\inc\\Rewrite.php on line 153<br \/>\n<code>return &#039;https:\/\/cdn.jsdelivr.net&#039; . $path;<\/code><br \/>\ninstead of:<br \/>\n<code>return $jsdelivr_url;<\/code> (of course that won&#8217;t work as it is).<br \/>\nIt seems inconsistent.<br \/>\nSeems to me it would be better to set all of the static paths in commonwp.php.<br \/>\nThanks!<br \/>\n-Brian<\/p>\n","protected":false},"template":"","class_list":["post-12579674","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12579674","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":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12579674\/revisions"}],"predecessor-version":[{"id":12579714,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12579674\/revisions\/12579714"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12579674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}