{"action":"created","issue":{"url":"https://api.github.com/repos/wpbrasil/odin/issues/362","labels_url":"https://api.github.com/repos/wpbrasil/odin/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/wpbrasil/odin/issues/362/comments","events_url":"https://api.github.com/repos/wpbrasil/odin/issues/362/events","html_url":"https://github.com/wpbrasil/odin/pull/362","id":113285335,"number":362,"title":"fixes \" Array to string conversion\" notice","user":{"login":"romuloctba","id":2955932,"avatar_url":"https://avatars.githubusercontent.com/u/2955932?v=3","gravatar_id":"","url":"https://api.github.com/users/romuloctba","html_url":"https://github.com/romuloctba","followers_url":"https://api.github.com/users/romuloctba/followers","following_url":"https://api.github.com/users/romuloctba/following{/other_user}","gists_url":"https://api.github.com/users/romuloctba/gists{/gist_id}","starred_url":"https://api.github.com/users/romuloctba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romuloctba/subscriptions","organizations_url":"https://api.github.com/users/romuloctba/orgs","repos_url":"https://api.github.com/users/romuloctba/repos","events_url":"https://api.github.com/users/romuloctba/events{/privacy}","received_events_url":"https://api.github.com/users/romuloctba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wpbrasil/odin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-26T04:55:37Z","updated_at":"2015-10-26T16:02:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wpbrasil/odin/pulls/362","html_url":"https://github.com/wpbrasil/odin/pull/362","diff_url":"https://github.com/wpbrasil/odin/pull/362.diff","patch_url":"https://github.com/wpbrasil/odin/pull/362.patch"},"body":"When assigning more than a CPT to a meta-box, using an Array(), I got \r\n```\r\nNotice: Array to string conversion in class-metabox.php on line 48\r\n\r\nNotice: Array to string conversion in class-metabox.php on line 50\r\n```\r\n\r\nthe if(is_array()) and the forEach fixes this notice"},"comment":{"url":"https://api.github.com/repos/wpbrasil/odin/issues/comments/151186449","html_url":"https://github.com/wpbrasil/odin/pull/362#issuecomment-151186449","issue_url":"https://api.github.com/repos/wpbrasil/odin/issues/362","id":151186449,"user":{"login":"fdaciuk","id":487669,"avatar_url":"https://avatars.githubusercontent.com/u/487669?v=3","gravatar_id":"","url":"https://api.github.com/users/fdaciuk","html_url":"https://github.com/fdaciuk","followers_url":"https://api.github.com/users/fdaciuk/followers","following_url":"https://api.github.com/users/fdaciuk/following{/other_user}","gists_url":"https://api.github.com/users/fdaciuk/gists{/gist_id}","starred_url":"https://api.github.com/users/fdaciuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdaciuk/subscriptions","organizations_url":"https://api.github.com/users/fdaciuk/orgs","repos_url":"https://api.github.com/users/fdaciuk/repos","events_url":"https://api.github.com/users/fdaciuk/events{/privacy}","received_events_url":"https://api.github.com/users/fdaciuk/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T16:02:57Z","updated_at":"2015-10-26T16:02:57Z","body":"Boa @romuloctba :dancer: :dancer: \r\n\r\nSó arruma o array ali e fica de boa ;)"}}