{"action":"created","issue":{"url":"https://api.github.com/repos/themosis/theme/issues/11","labels_url":"https://api.github.com/repos/themosis/theme/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/themosis/theme/issues/11/comments","events_url":"https://api.github.com/repos/themosis/theme/issues/11/events","html_url":"https://github.com/themosis/theme/issues/11","id":129412749,"number":11,"title":"Themosis plugin's bootstrap/start.php included instead of theme's","user":{"login":"mwerezi","id":2045191,"avatar_url":"https://avatars.githubusercontent.com/u/2045191?v=3","gravatar_id":"","url":"https://api.github.com/users/mwerezi","html_url":"https://github.com/mwerezi","followers_url":"https://api.github.com/users/mwerezi/followers","following_url":"https://api.github.com/users/mwerezi/following{/other_user}","gists_url":"https://api.github.com/users/mwerezi/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerezi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerezi/subscriptions","organizations_url":"https://api.github.com/users/mwerezi/orgs","repos_url":"https://api.github.com/users/mwerezi/repos","events_url":"https://api.github.com/users/mwerezi/events{/privacy}","received_events_url":"https://api.github.com/users/mwerezi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-28T10:38:39Z","updated_at":"2016-01-28T16:20:22Z","closed_at":null,"body":"When doing the command wp rewrite flush --hard, rewrite rules for my custom post types defined in resources/actions.php where not being generated. When going to backend of the WordPress install to Settings \\ Permalinks, they did get generated.\r\n\r\nI traced it to a problem in the theme's functions.php at the line:\r\n```\r\nrequire_once('bootstrap'.DS.'start.php');\r\n```\r\n\r\nFor some reason this seems to include the bootstrap/start.php file in the themosis framework and not the theme's bootstrap/start.php when running in wp cli.\r\n\r\n@jlambe do you agree? I can do a PR, just want to make sure its not just me\r\n"},"comment":{"url":"https://api.github.com/repos/themosis/theme/issues/comments/176259835","html_url":"https://github.com/themosis/theme/issues/11#issuecomment-176259835","issue_url":"https://api.github.com/repos/themosis/theme/issues/11","id":176259835,"user":{"login":"mwerezi","id":2045191,"avatar_url":"https://avatars.githubusercontent.com/u/2045191?v=3","gravatar_id":"","url":"https://api.github.com/users/mwerezi","html_url":"https://github.com/mwerezi","followers_url":"https://api.github.com/users/mwerezi/followers","following_url":"https://api.github.com/users/mwerezi/following{/other_user}","gists_url":"https://api.github.com/users/mwerezi/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerezi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerezi/subscriptions","organizations_url":"https://api.github.com/users/mwerezi/orgs","repos_url":"https://api.github.com/users/mwerezi/repos","events_url":"https://api.github.com/users/mwerezi/events{/privacy}","received_events_url":"https://api.github.com/users/mwerezi/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T16:20:22Z","updated_at":"2016-01-28T16:20:22Z","body":"remove the add_action gives me Fatal error: Class 'PostType' not found"}}