{"action":"created","issue":{"url":"https://api.github.com/repos/timber/timber/issues/978","repository_url":"https://api.github.com/repos/timber/timber","labels_url":"https://api.github.com/repos/timber/timber/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/timber/timber/issues/978/comments","events_url":"https://api.github.com/repos/timber/timber/issues/978/events","html_url":"https://github.com/timber/timber/pull/978","id":153088823,"number":978,"title":"Fixing post getter array bug","user":{"login":"connorjburton","id":10538031,"avatar_url":"https://avatars.githubusercontent.com/u/10538031?v=3","gravatar_id":"","url":"https://api.github.com/users/connorjburton","html_url":"https://github.com/connorjburton","followers_url":"https://api.github.com/users/connorjburton/followers","following_url":"https://api.github.com/users/connorjburton/following{/other_user}","gists_url":"https://api.github.com/users/connorjburton/gists{/gist_id}","starred_url":"https://api.github.com/users/connorjburton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorjburton/subscriptions","organizations_url":"https://api.github.com/users/connorjburton/orgs","repos_url":"https://api.github.com/users/connorjburton/repos","events_url":"https://api.github.com/users/connorjburton/events{/privacy}","received_events_url":"https://api.github.com/users/connorjburton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/timber/timber/milestones/2","html_url":"https://github.com/timber/timber/milestones/v1.0.1","labels_url":"https://api.github.com/repos/timber/timber/milestones/2/labels","id":1703546,"number":2,"title":"v1.0.1","description":"Post `1.0.0` bug fixes","creator":{"login":"connorjburton","id":10538031,"avatar_url":"https://avatars.githubusercontent.com/u/10538031?v=3","gravatar_id":"","url":"https://api.github.com/users/connorjburton","html_url":"https://github.com/connorjburton","followers_url":"https://api.github.com/users/connorjburton/followers","following_url":"https://api.github.com/users/connorjburton/following{/other_user}","gists_url":"https://api.github.com/users/connorjburton/gists{/gist_id}","starred_url":"https://api.github.com/users/connorjburton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorjburton/subscriptions","organizations_url":"https://api.github.com/users/connorjburton/orgs","repos_url":"https://api.github.com/users/connorjburton/repos","events_url":"https://api.github.com/users/connorjburton/events{/privacy}","received_events_url":"https://api.github.com/users/connorjburton/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2016-04-13T11:20:05Z","updated_at":"2016-05-04T20:03:46Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-04T18:57:20Z","updated_at":"2016-05-04T20:24:16Z","closed_at":"2016-05-04T20:03:34Z","pull_request":{"url":"https://api.github.com/repos/timber/timber/pulls/978","html_url":"https://github.com/timber/timber/pull/978","diff_url":"https://github.com/timber/timber/pull/978.diff","patch_url":"https://github.com/timber/timber/pull/978.patch"},"body":"**Ticket**: #935 \r\n**Reviewer**: @\r\n\r\n#### Issue\r\n<!-- Description of the problem that this code change is solving -->\r\nPassing an array for `post_type` causes a warning.\r\n\r\n#### Solution\r\n<!-- Description of the solution that this code changes are introducing to the application. -->\r\nChecks if it's an array before doing `class_exists`\r\n\r\n#### Impact\r\n<!-- What impact will this have on the current codebase, performance, backwards compatability? -->\r\nNone\r\n\r\n#### Usage\r\n<!-- Are there are any usage changes, or are there new usage that we need to know about? -->\r\nNone\r\n\r\n#### Considerations\r\n<!-- As we do not live in an ideal world it's worth to share your thought on how we could make the solution even better. -->\r\nNone\r\n\r\n#### Testing\r\n<!-- Are unit tests included? If they need to be written, please provide pseudo code for a scenario that fails without your code, but succeeds with it -->\r\nNone\r\n"},"comment":{"url":"https://api.github.com/repos/timber/timber/issues/comments/216991730","html_url":"https://github.com/timber/timber/pull/978#issuecomment-216991730","issue_url":"https://api.github.com/repos/timber/timber/issues/978","id":216991730,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T20:24:16Z","updated_at":"2016-05-04T20:24:16Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6052357/badge)](https://coveralls.io/builds/6052357)\n\nCoverage remained the same at 88.034% when pulling **f85071cfc1497253a9838598540a563bd7c4f9a7 on cjb-get-posts-array** into **3e716959fac647dd3143177b1d7b5bcc897aa626 on master**.\n"}}