{"action":"opened","number":383,"pull_request":{"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/383","id":78974337,"html_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/383","diff_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/383.diff","patch_url":"https://github.com/Automattic/facebook-instant-articles-wp/pull/383.patch","issue_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/383","number":383,"state":"open","locked":false,"title":"Fix updating published posts result in error","user":{"login":"chrisadas","id":16176343,"avatar_url":"https://avatars.githubusercontent.com/u/16176343?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisadas","html_url":"https://github.com/chrisadas","followers_url":"https://api.github.com/users/chrisadas/followers","following_url":"https://api.github.com/users/chrisadas/following{/other_user}","gists_url":"https://api.github.com/users/chrisadas/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisadas/subscriptions","organizations_url":"https://api.github.com/users/chrisadas/orgs","repos_url":"https://api.github.com/users/chrisadas/repos","events_url":"https://api.github.com/users/chrisadas/events{/privacy}","received_events_url":"https://api.github.com/users/chrisadas/received_events","type":"User","site_admin":false},"body":"#This PR:\r\n\r\n* [x] Fixed error that occurs when updating a post that is already published, which prevent the changes from being published (it still gets saved as revision)\r\n\r\nFixes this issue #382 \r\n\r\nIssue was intermittent and could be related to whether Instant Articles are under review on Facebook side (and thus disabling ability to delete Instant Articles on Facebook)\r\n\r\nFix suggested by @everton-rosario and worked for me.","created_at":"2016-07-27T07:00:06Z","updated_at":"2016-07-27T07:00:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/383/commits","review_comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/383/comments","review_comment_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/383/comments","statuses_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/14f4178ed6bf4f2805c31e7220d7f97347cb4720","head":{"label":"chrisadas:patch-1","ref":"patch-1","sha":"14f4178ed6bf4f2805c31e7220d7f97347cb4720","user":{"login":"chrisadas","id":16176343,"avatar_url":"https://avatars.githubusercontent.com/u/16176343?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisadas","html_url":"https://github.com/chrisadas","followers_url":"https://api.github.com/users/chrisadas/followers","following_url":"https://api.github.com/users/chrisadas/following{/other_user}","gists_url":"https://api.github.com/users/chrisadas/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisadas/subscriptions","organizations_url":"https://api.github.com/users/chrisadas/orgs","repos_url":"https://api.github.com/users/chrisadas/repos","events_url":"https://api.github.com/users/chrisadas/events{/privacy}","received_events_url":"https://api.github.com/users/chrisadas/received_events","type":"User","site_admin":false},"repo":{"id":64284728,"name":"facebook-instant-articles-wp","full_name":"chrisadas/facebook-instant-articles-wp","owner":{"login":"chrisadas","id":16176343,"avatar_url":"https://avatars.githubusercontent.com/u/16176343?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisadas","html_url":"https://github.com/chrisadas","followers_url":"https://api.github.com/users/chrisadas/followers","following_url":"https://api.github.com/users/chrisadas/following{/other_user}","gists_url":"https://api.github.com/users/chrisadas/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisadas/subscriptions","organizations_url":"https://api.github.com/users/chrisadas/orgs","repos_url":"https://api.github.com/users/chrisadas/repos","events_url":"https://api.github.com/users/chrisadas/events{/privacy}","received_events_url":"https://api.github.com/users/chrisadas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisadas/facebook-instant-articles-wp","description":"Enable Facebook Instant Articles for Facebook on your WordPress site.","fork":true,"url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp","forks_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/forks","keys_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/teams","hooks_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/hooks","issue_events_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/issues/events{/number}","events_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/events","assignees_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/assignees{/user}","branches_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/branches{/branch}","tags_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/tags","blobs_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/languages","stargazers_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/stargazers","contributors_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/contributors","subscribers_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/subscribers","subscription_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/subscription","commits_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/contents/{+path}","compare_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/merges","archive_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/downloads","issues_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/issues{/number}","pulls_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/labels{/name}","releases_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/releases{/id}","deployments_url":"https://api.github.com/repos/chrisadas/facebook-instant-articles-wp/deployments","created_at":"2016-07-27T06:50:32Z","updated_at":"2016-07-27T06:50:32Z","pushed_at":"2016-07-27T06:54:53Z","git_url":"git://github.com/chrisadas/facebook-instant-articles-wp.git","ssh_url":"git@github.com:chrisadas/facebook-instant-articles-wp.git","clone_url":"https://github.com/chrisadas/facebook-instant-articles-wp.git","svn_url":"https://github.com/chrisadas/facebook-instant-articles-wp","homepage":"","size":1016,"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":"Automattic:master","ref":"master","sha":"323b02003ce8d1c46a524c85e10dbd3dd3f1a634","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":46434614,"name":"facebook-instant-articles-wp","full_name":"Automattic/facebook-instant-articles-wp","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/facebook-instant-articles-wp","description":"Enable Facebook Instant Articles for Facebook on your WordPress site.","fork":false,"url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp","forks_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/forks","keys_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/teams","hooks_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/hooks","issue_events_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/events","assignees_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/tags","blobs_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/languages","stargazers_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/stargazers","contributors_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/contributors","subscribers_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/subscribers","subscription_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/subscription","commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/merges","archive_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/downloads","issues_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/deployments","created_at":"2015-11-18T17:13:12Z","updated_at":"2016-07-27T06:21:34Z","pushed_at":"2016-07-27T02:08:25Z","git_url":"git://github.com/Automattic/facebook-instant-articles-wp.git","ssh_url":"git@github.com:Automattic/facebook-instant-articles-wp.git","clone_url":"https://github.com/Automattic/facebook-instant-articles-wp.git","svn_url":"https://github.com/Automattic/facebook-instant-articles-wp","homepage":"","size":1016,"stargazers_count":445,"watchers_count":445,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":100,"forks":97,"open_issues":100,"watchers":445,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/383"},"html":{"href":"https://github.com/Automattic/facebook-instant-articles-wp/pull/383"},"issue":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/383"},"comments":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/issues/383/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/383/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/pulls/383/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/facebook-instant-articles-wp/statuses/14f4178ed6bf4f2805c31e7220d7f97347cb4720"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"chrisadas"}}