{"id":2106112,"date":"2011-05-30T18:22:12","date_gmt":"2011-05-30T18:22:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-file-paths\/"},"modified":"2016-08-20T00:36:04","modified_gmt":"2016-08-20T00:36:04","slug":"plugin-file-paths","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-file-paths\/","title":{"rendered":"[Plugin: WP Easy Post Types] Plugin file paths"},"content":{"rendered":"<p>It seems that the plugin is a bit naughty at storing paths in the database.  This makes it very difficult to migrate from a development server to a live one without some serious messing around with the database &#8211; trying to replace all the paths.<\/p>\n<p>Using paths &#8220;properly&#8221; is easily done in PHP with stuff like DOCUMENT_ROOT, dirname(__FILE__) etc. so would like to see some improvements with this in mind please.<\/p>\n","protected":false},"template":"","class_list":["post-2106112","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2106112","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\/2106112\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2106112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}