{"action":"created","issue":{"url":"https://api.github.com/repos/marvinlabs/customer-area/issues/205","repository_url":"https://api.github.com/repos/marvinlabs/customer-area","labels_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/205/comments","events_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/205/events","html_url":"https://github.com/marvinlabs/customer-area/issues/205","id":132463538,"number":205,"title":"Global post data is not restored after secondary queries in print_associated_content","user":{"login":"lop-cz","id":1660094,"avatar_url":"https://avatars.githubusercontent.com/u/1660094?v=3","gravatar_id":"","url":"https://api.github.com/users/lop-cz","html_url":"https://github.com/lop-cz","followers_url":"https://api.github.com/users/lop-cz/followers","following_url":"https://api.github.com/users/lop-cz/following{/other_user}","gists_url":"https://api.github.com/users/lop-cz/gists{/gist_id}","starred_url":"https://api.github.com/users/lop-cz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lop-cz/subscriptions","organizations_url":"https://api.github.com/users/lop-cz/orgs","repos_url":"https://api.github.com/users/lop-cz/repos","events_url":"https://api.github.com/users/lop-cz/events{/privacy}","received_events_url":"https://api.github.com/users/lop-cz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marvinlabs/customer-area/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/marvinlabs/customer-area/labels/Premium%20add-ons","name":"Premium add-ons","color":"fbca04"},{"url":"https://api.github.com/repos/marvinlabs/customer-area/labels/Priority%20-%20medium","name":"Priority - medium","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"vpratfr","id":2526465,"avatar_url":"https://avatars.githubusercontent.com/u/2526465?v=3","gravatar_id":"","url":"https://api.github.com/users/vpratfr","html_url":"https://github.com/vpratfr","followers_url":"https://api.github.com/users/vpratfr/followers","following_url":"https://api.github.com/users/vpratfr/following{/other_user}","gists_url":"https://api.github.com/users/vpratfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vpratfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpratfr/subscriptions","organizations_url":"https://api.github.com/users/vpratfr/orgs","repos_url":"https://api.github.com/users/vpratfr/repos","events_url":"https://api.github.com/users/vpratfr/events{/privacy}","received_events_url":"https://api.github.com/users/vpratfr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/marvinlabs/customer-area/milestones/5","html_url":"https://github.com/marvinlabs/customer-area/milestones/7.0","labels_url":"https://api.github.com/repos/marvinlabs/customer-area/milestones/5/labels","id":1413786,"number":5,"title":"7.0","description":"","creator":{"login":"vpratfr","id":2526465,"avatar_url":"https://avatars.githubusercontent.com/u/2526465?v=3","gravatar_id":"","url":"https://api.github.com/users/vpratfr","html_url":"https://github.com/vpratfr","followers_url":"https://api.github.com/users/vpratfr/followers","following_url":"https://api.github.com/users/vpratfr/following{/other_user}","gists_url":"https://api.github.com/users/vpratfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vpratfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpratfr/subscriptions","organizations_url":"https://api.github.com/users/vpratfr/orgs","repos_url":"https://api.github.com/users/vpratfr/repos","events_url":"https://api.github.com/users/vpratfr/events{/privacy}","received_events_url":"https://api.github.com/users/vpratfr/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":15,"state":"open","created_at":"2015-11-16T14:10:33Z","updated_at":"2016-02-10T16:21:33Z","due_on":"2016-01-09T23:00:00Z","closed_at":null},"comments":0,"created_at":"2016-02-09T16:24:00Z","updated_at":"2016-02-10T16:21:33Z","closed_at":"2016-02-10T16:21:33Z","body":"After the secondary queries in the **print_associated_content()** method of _CUAR_AbstractContainerPageAddOn_ class, the main query and global post data are not restored and stays on the last queried object (Private File or Page in case of the Project addon).\r\n\r\nThere should be a call to **wp_reset_query()** after inclusion of looping template on line 635."},"comment":{"url":"https://api.github.com/repos/marvinlabs/customer-area/issues/comments/182457359","html_url":"https://github.com/marvinlabs/customer-area/issues/205#issuecomment-182457359","issue_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/205","id":182457359,"user":{"login":"vpratfr","id":2526465,"avatar_url":"https://avatars.githubusercontent.com/u/2526465?v=3","gravatar_id":"","url":"https://api.github.com/users/vpratfr","html_url":"https://github.com/vpratfr","followers_url":"https://api.github.com/users/vpratfr/followers","following_url":"https://api.github.com/users/vpratfr/following{/other_user}","gists_url":"https://api.github.com/users/vpratfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vpratfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpratfr/subscriptions","organizations_url":"https://api.github.com/users/vpratfr/orgs","repos_url":"https://api.github.com/users/vpratfr/repos","events_url":"https://api.github.com/users/vpratfr/events{/privacy}","received_events_url":"https://api.github.com/users/vpratfr/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T16:21:33Z","updated_at":"2016-02-10T16:21:33Z","body":"Fixed. Will be available in next release.\r\n\r\nIf you find bugs and make fixes, feel free to make pull requests against our develop branch.\r\n\r\nThanks a lot for the reports!"}}