{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/7235","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/7235/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/7235/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/7235/events","html_url":"https://github.com/Elgg/Elgg/issues/7235","id":43350825,"number":7235,"title":"The public_pages, walled_garden hook doesn't pass the default list to the hook","user":{"login":"brettp","id":43375,"avatar_url":"https://avatars.githubusercontent.com/u/43375?v=3","gravatar_id":"","url":"https://api.github.com/users/brettp","html_url":"https://github.com/brettp","followers_url":"https://api.github.com/users/brettp/followers","following_url":"https://api.github.com/users/brettp/following{/other_user}","gists_url":"https://api.github.com/users/brettp/gists{/gist_id}","starred_url":"https://api.github.com/users/brettp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettp/subscriptions","organizations_url":"https://api.github.com/users/brettp/orgs","repos_url":"https://api.github.com/users/brettp/repos","events_url":"https://api.github.com/users/brettp/events{/privacy}","received_events_url":"https://api.github.com/users/brettp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Elgg/Elgg/labels/dev%20usability","name":"dev usability","color":"444444"},{"url":"https://api.github.com/repos/Elgg/Elgg/labels/easy","name":"easy","color":"d7e102"},{"url":"https://api.github.com/repos/Elgg/Elgg/labels/engine","name":"engine","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-22T00:59:40Z","updated_at":"2015-02-06T15:51:00Z","closed_at":null,"body":"It's odd that it doesn't. If there's a reason for this, it should be documented in code."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/73257557","html_url":"https://github.com/Elgg/Elgg/issues/7235#issuecomment-73257557","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/7235","id":73257557,"user":{"login":"jdalsem","id":861833,"avatar_url":"https://avatars.githubusercontent.com/u/861833?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalsem","html_url":"https://github.com/jdalsem","followers_url":"https://api.github.com/users/jdalsem/followers","following_url":"https://api.github.com/users/jdalsem/following{/other_user}","gists_url":"https://api.github.com/users/jdalsem/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalsem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalsem/subscriptions","organizations_url":"https://api.github.com/users/jdalsem/orgs","repos_url":"https://api.github.com/users/jdalsem/repos","events_url":"https://api.github.com/users/jdalsem/events{/privacy}","received_events_url":"https://api.github.com/users/jdalsem/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T15:51:00Z","updated_at":"2015-02-06T15:51:00Z","body":"i think the reason for this is that if you allow plugins to override the defaults, they could potentially lock themselves out of a walled garden site without the ability to use the site. The defaults are the minimal requirements instead of default behaviour. Do we need this documented in the docs? Or should we add a comment to the code?"}}