{"action":"created","issue":{"url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/issues/2","labels_url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/issues/2/comments","events_url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/issues/2/events","html_url":"https://github.com/jupitercow/gravity-forms-post-updates/pull/2","id":58403996,"number":2,"title":"fix CPTs not populating","user":{"login":"jr00ck","id":3634144,"avatar_url":"https://avatars.githubusercontent.com/u/3634144?v=3","gravatar_id":"","url":"https://api.github.com/users/jr00ck","html_url":"https://github.com/jr00ck","followers_url":"https://api.github.com/users/jr00ck/followers","following_url":"https://api.github.com/users/jr00ck/following{/other_user}","gists_url":"https://api.github.com/users/jr00ck/gists{/gist_id}","starred_url":"https://api.github.com/users/jr00ck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jr00ck/subscriptions","organizations_url":"https://api.github.com/users/jr00ck/orgs","repos_url":"https://api.github.com/users/jr00ck/repos","events_url":"https://api.github.com/users/jr00ck/events{/privacy}","received_events_url":"https://api.github.com/users/jr00ck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-20T20:09:50Z","updated_at":"2015-02-20T20:40:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/pulls/2","html_url":"https://github.com/jupitercow/gravity-forms-post-updates/pull/2","diff_url":"https://github.com/jupitercow/gravity-forms-post-updates/pull/2.diff","patch_url":"https://github.com/jupitercow/gravity-forms-post-updates/pull/2.patch"},"body":"fixes both all CPT fields not populating after 1.2.13 update, as well\nas just checkbox fields not populating after GF 1.9 update which\nswitches fields from associative arrays to objects (can no longer be\nlooped via $fields[‘choices’], requires looping via $fields->choices). version bump."},"comment":{"url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/issues/comments/75315323","html_url":"https://github.com/jupitercow/gravity-forms-post-updates/pull/2#issuecomment-75315323","issue_url":"https://api.github.com/repos/jupitercow/gravity-forms-post-updates/issues/2","id":75315323,"user":{"login":"jr00ck","id":3634144,"avatar_url":"https://avatars.githubusercontent.com/u/3634144?v=3","gravatar_id":"","url":"https://api.github.com/users/jr00ck","html_url":"https://github.com/jr00ck","followers_url":"https://api.github.com/users/jr00ck/followers","following_url":"https://api.github.com/users/jr00ck/following{/other_user}","gists_url":"https://api.github.com/users/jr00ck/gists{/gist_id}","starred_url":"https://api.github.com/users/jr00ck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jr00ck/subscriptions","organizations_url":"https://api.github.com/users/jr00ck/orgs","repos_url":"https://api.github.com/users/jr00ck/repos","events_url":"https://api.github.com/users/jr00ck/events{/privacy}","received_events_url":"https://api.github.com/users/jr00ck/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T20:40:31Z","updated_at":"2015-02-20T20:40:31Z","body":"Important note: Because of this significant change in Gravity Forms, the fix I committed now REQUIRES Gravity Forms 1.9+. It is probably possible to have an extra check in the code for the $fields object before each loop to properly account for older versions of Gravity Forms. Just an FYI."}}