{"action":"created","issue":{"url":"https://api.github.com/repos/wikkawik/WikkaWiki/issues/1212","repository_url":"https://api.github.com/repos/wikkawik/WikkaWiki","labels_url":"https://api.github.com/repos/wikkawik/WikkaWiki/issues/1212/labels{/name}","comments_url":"https://api.github.com/repos/wikkawik/WikkaWiki/issues/1212/comments","events_url":"https://api.github.com/repos/wikkawik/WikkaWiki/issues/1212/events","html_url":"https://github.com/wikkawik/WikkaWiki/issues/1212","id":144991271,"number":1212,"title":"include action doesn't remove pages from include stack after inclusion.","user":{"login":"MasinAD","id":1557341,"avatar_url":"https://avatars.githubusercontent.com/u/1557341?v=3","gravatar_id":"","url":"https://api.github.com/users/MasinAD","html_url":"https://github.com/MasinAD","followers_url":"https://api.github.com/users/MasinAD/followers","following_url":"https://api.github.com/users/MasinAD/following{/other_user}","gists_url":"https://api.github.com/users/MasinAD/gists{/gist_id}","starred_url":"https://api.github.com/users/MasinAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasinAD/subscriptions","organizations_url":"https://api.github.com/users/MasinAD/orgs","repos_url":"https://api.github.com/users/MasinAD/repos","events_url":"https://api.github.com/users/MasinAD/events{/privacy}","received_events_url":"https://api.github.com/users/MasinAD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T19:11:24Z","updated_at":"2016-05-12T18:04:55Z","closed_at":"2016-05-12T18:04:55Z","body":"During parsing, Wikkawiki populates $this->config['include'] with all pages included for detection of circular references. The action {{include}} should remove the last entry after successful inclusion.\r\n\r\nPlease add `array_pop($this->config['includes']);` after line 47 in actions/include/include.php\r\n"},"comment":{"url":"https://api.github.com/repos/wikkawik/WikkaWiki/issues/comments/218838026","html_url":"https://github.com/wikkawik/WikkaWiki/issues/1212#issuecomment-218838026","issue_url":"https://api.github.com/repos/wikkawik/WikkaWiki/issues/1212","id":218838026,"user":{"login":"bakoontz","id":6192828,"avatar_url":"https://avatars.githubusercontent.com/u/6192828?v=3","gravatar_id":"","url":"https://api.github.com/users/bakoontz","html_url":"https://github.com/bakoontz","followers_url":"https://api.github.com/users/bakoontz/followers","following_url":"https://api.github.com/users/bakoontz/following{/other_user}","gists_url":"https://api.github.com/users/bakoontz/gists{/gist_id}","starred_url":"https://api.github.com/users/bakoontz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakoontz/subscriptions","organizations_url":"https://api.github.com/users/bakoontz/orgs","repos_url":"https://api.github.com/users/bakoontz/repos","events_url":"https://api.github.com/users/bakoontz/events{/privacy}","received_events_url":"https://api.github.com/users/bakoontz/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T18:04:55Z","updated_at":"2016-05-12T18:04:55Z","body":"Closed with merge of #1213."}}