{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/9","id":29640796,"html_url":"https://github.com/bradvin/gravity-forms-custom-post-types/pull/9","diff_url":"https://github.com/bradvin/gravity-forms-custom-post-types/pull/9.diff","patch_url":"https://github.com/bradvin/gravity-forms-custom-post-types/pull/9.patch","issue_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues/9","number":9,"state":"open","locked":false,"title":"Fix inputs array update.","user":{"login":"cyberhobo","id":286838,"avatar_url":"https://avatars.githubusercontent.com/u/286838?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberhobo","html_url":"https://github.com/cyberhobo","followers_url":"https://api.github.com/users/cyberhobo/followers","following_url":"https://api.github.com/users/cyberhobo/following{/other_user}","gists_url":"https://api.github.com/users/cyberhobo/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberhobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberhobo/subscriptions","organizations_url":"https://api.github.com/users/cyberhobo/orgs","repos_url":"https://api.github.com/users/cyberhobo/repos","events_url":"https://api.github.com/users/cyberhobo/events{/privacy}","received_events_url":"https://api.github.com/users/cyberhobo/received_events","type":"User","site_admin":false},"body":"I'm not sure I understand the cause, but I observed this on two installations, PHP 5.3.3 and 5.4.30: the $filter['inputs'] array remained empty despite several executions of line 315. Some kind of obscure reference behavior maybe? After this, terms checked in custom taxonomies would not be added to the post.\r\n\r\nIn any case, this commit should not do any harm and fixes the issue I was seeing.","created_at":"2015-02-19T19:26:45Z","updated_at":"2015-02-19T19:26:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/9/commits","review_comments_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/9/comments","review_comment_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues/9/comments","statuses_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/statuses/88155c47d9be332c3ba7cbd8f2670bf03355d658","head":{"label":"vernal-creative:master","ref":"master","sha":"88155c47d9be332c3ba7cbd8f2670bf03355d658","user":{"login":"vernal-creative","id":1608689,"avatar_url":"https://avatars.githubusercontent.com/u/1608689?v=3","gravatar_id":"","url":"https://api.github.com/users/vernal-creative","html_url":"https://github.com/vernal-creative","followers_url":"https://api.github.com/users/vernal-creative/followers","following_url":"https://api.github.com/users/vernal-creative/following{/other_user}","gists_url":"https://api.github.com/users/vernal-creative/gists{/gist_id}","starred_url":"https://api.github.com/users/vernal-creative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vernal-creative/subscriptions","organizations_url":"https://api.github.com/users/vernal-creative/orgs","repos_url":"https://api.github.com/users/vernal-creative/repos","events_url":"https://api.github.com/users/vernal-creative/events{/privacy}","received_events_url":"https://api.github.com/users/vernal-creative/received_events","type":"Organization","site_admin":false},"repo":{"id":31030323,"name":"gravity-forms-custom-post-types","full_name":"vernal-creative/gravity-forms-custom-post-types","owner":{"login":"vernal-creative","id":1608689,"avatar_url":"https://avatars.githubusercontent.com/u/1608689?v=3","gravatar_id":"","url":"https://api.github.com/users/vernal-creative","html_url":"https://github.com/vernal-creative","followers_url":"https://api.github.com/users/vernal-creative/followers","following_url":"https://api.github.com/users/vernal-creative/following{/other_user}","gists_url":"https://api.github.com/users/vernal-creative/gists{/gist_id}","starred_url":"https://api.github.com/users/vernal-creative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vernal-creative/subscriptions","organizations_url":"https://api.github.com/users/vernal-creative/orgs","repos_url":"https://api.github.com/users/vernal-creative/repos","events_url":"https://api.github.com/users/vernal-creative/events{/privacy}","received_events_url":"https://api.github.com/users/vernal-creative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vernal-creative/gravity-forms-custom-post-types","description":"Map Gravity Form post entries to a custom post type. Also include custom taxonomies.","fork":true,"url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types","forks_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/forks","keys_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/teams","hooks_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/hooks","issue_events_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/issues/events{/number}","events_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/events","assignees_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/assignees{/user}","branches_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/branches{/branch}","tags_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/tags","blobs_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/git/refs{/sha}","trees_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/statuses/{sha}","languages_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/languages","stargazers_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/stargazers","contributors_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/contributors","subscribers_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/subscribers","subscription_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/subscription","commits_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/commits{/sha}","git_commits_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/git/commits{/sha}","comments_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/comments{/number}","issue_comment_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/issues/comments/{number}","contents_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/contents/{+path}","compare_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/merges","archive_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/downloads","issues_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/issues{/number}","pulls_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/pulls{/number}","milestones_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/milestones{/number}","notifications_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/labels{/name}","releases_url":"https://api.github.com/repos/vernal-creative/gravity-forms-custom-post-types/releases{/id}","created_at":"2015-02-19T18:38:34Z","updated_at":"2015-02-19T19:20:45Z","pushed_at":"2015-02-19T19:20:45Z","git_url":"git://github.com/vernal-creative/gravity-forms-custom-post-types.git","ssh_url":"git@github.com:vernal-creative/gravity-forms-custom-post-types.git","clone_url":"https://github.com/vernal-creative/gravity-forms-custom-post-types.git","svn_url":"https://github.com/vernal-creative/gravity-forms-custom-post-types","homepage":null,"size":218,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bradvin:master","ref":"master","sha":"8f65ca141a36170d11298ee18da812e07e188979","user":{"login":"bradvin","id":1409490,"avatar_url":"https://avatars.githubusercontent.com/u/1409490?v=3","gravatar_id":"","url":"https://api.github.com/users/bradvin","html_url":"https://github.com/bradvin","followers_url":"https://api.github.com/users/bradvin/followers","following_url":"https://api.github.com/users/bradvin/following{/other_user}","gists_url":"https://api.github.com/users/bradvin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradvin/subscriptions","organizations_url":"https://api.github.com/users/bradvin/orgs","repos_url":"https://api.github.com/users/bradvin/repos","events_url":"https://api.github.com/users/bradvin/events{/privacy}","received_events_url":"https://api.github.com/users/bradvin/received_events","type":"User","site_admin":false},"repo":{"id":14660315,"name":"gravity-forms-custom-post-types","full_name":"bradvin/gravity-forms-custom-post-types","owner":{"login":"bradvin","id":1409490,"avatar_url":"https://avatars.githubusercontent.com/u/1409490?v=3","gravatar_id":"","url":"https://api.github.com/users/bradvin","html_url":"https://github.com/bradvin","followers_url":"https://api.github.com/users/bradvin/followers","following_url":"https://api.github.com/users/bradvin/following{/other_user}","gists_url":"https://api.github.com/users/bradvin/gists{/gist_id}","starred_url":"https://api.github.com/users/bradvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradvin/subscriptions","organizations_url":"https://api.github.com/users/bradvin/orgs","repos_url":"https://api.github.com/users/bradvin/repos","events_url":"https://api.github.com/users/bradvin/events{/privacy}","received_events_url":"https://api.github.com/users/bradvin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradvin/gravity-forms-custom-post-types","description":"Map Gravity Form post entries to a custom post type. Also include custom taxonomies.","fork":false,"url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types","forks_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/forks","keys_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/teams","hooks_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/hooks","issue_events_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues/events{/number}","events_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/events","assignees_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/assignees{/user}","branches_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/branches{/branch}","tags_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/tags","blobs_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/statuses/{sha}","languages_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/languages","stargazers_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/stargazers","contributors_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/contributors","subscribers_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/subscribers","subscription_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/subscription","commits_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues/comments/{number}","contents_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/contents/{+path}","compare_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/merges","archive_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/downloads","issues_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues{/number}","pulls_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls{/number}","milestones_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/milestones{/number}","notifications_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/labels{/name}","releases_url":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/releases{/id}","created_at":"2013-11-24T11:50:22Z","updated_at":"2015-01-29T20:52:22Z","pushed_at":"2015-01-26T11:04:40Z","git_url":"git://github.com/bradvin/gravity-forms-custom-post-types.git","ssh_url":"git@github.com:bradvin/gravity-forms-custom-post-types.git","clone_url":"https://github.com/bradvin/gravity-forms-custom-post-types.git","svn_url":"https://github.com/bradvin/gravity-forms-custom-post-types","homepage":null,"size":263,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/9"},"html":{"href":"https://github.com/bradvin/gravity-forms-custom-post-types/pull/9"},"issue":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues/9"},"comments":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/bradvin/gravity-forms-custom-post-types/statuses/88155c47d9be332c3ba7cbd8f2670bf03355d658"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}