{"action":"created","comment":{"url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/comments/145184216","pull_request_review_id":69946482,"id":145184216,"diff_hunk":"@@ -125,10 +125,10 @@ public static function merge( array $data, array $sync_fields ) {\n \t\t\t\tupdate_post_meta( $new_post_id, '_thumbnail_id', $media_id );\n \t\t\t}\n \t\t}\n-\n+\t\t\n \t\t// Set P2P connections\n-\t\tif ( isset($post['connections']) && !empty($post['connections']) ) {\n-\t\t\tforeach( (array) $post['connections'] as $connection ) {\n+\t\tif ( isset($data['connections']) && !empty($data['connections']) ) {","path":"classes/client/post_type.php","position":9,"original_position":9,"commit_id":"bcade7da295e6b16b7156c1bf6b8acf521667c40","original_commit_id":"bcade7da295e6b16b7156c1bf6b8acf521667c40","user":{"login":"stickler-ci","id":16011037,"avatar_url":"https://avatars3.githubusercontent.com/u/16011037?v=4","gravatar_id":"","url":"https://api.github.com/users/stickler-ci","html_url":"https://github.com/stickler-ci","followers_url":"https://api.github.com/users/stickler-ci/followers","following_url":"https://api.github.com/users/stickler-ci/following{/other_user}","gists_url":"https://api.github.com/users/stickler-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/stickler-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickler-ci/subscriptions","organizations_url":"https://api.github.com/users/stickler-ci/orgs","repos_url":"https://api.github.com/users/stickler-ci/repos","events_url":"https://api.github.com/users/stickler-ci/events{/privacy}","received_events_url":"https://api.github.com/users/stickler-ci/received_events","type":"User","site_admin":false},"body":"Expected 1 spaces after opening bracket; 0 found\nExpected 1 spaces before closing bracket; 0 found\nExpected 1 space after \"!\"; 0 found","created_at":"2017-10-17T16:31:23Z","updated_at":"2017-10-17T16:31:23Z","html_url":"https://github.com/BeAPI/bea-content-sync-fusion/pull/17#discussion_r145184216","pull_request_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/comments/145184216"},"html":{"href":"https://github.com/BeAPI/bea-content-sync-fusion/pull/17#discussion_r145184216"},"pull_request":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17","id":147091656,"html_url":"https://github.com/BeAPI/bea-content-sync-fusion/pull/17","diff_url":"https://github.com/BeAPI/bea-content-sync-fusion/pull/17.diff","patch_url":"https://github.com/BeAPI/bea-content-sync-fusion/pull/17.patch","issue_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/17","number":17,"state":"open","locked":false,"title":"fix typo variable, use p2P function for get data","user":{"login":"herewithme","id":898608,"avatar_url":"https://avatars2.githubusercontent.com/u/898608?v=4","gravatar_id":"","url":"https://api.github.com/users/herewithme","html_url":"https://github.com/herewithme","followers_url":"https://api.github.com/users/herewithme/followers","following_url":"https://api.github.com/users/herewithme/following{/other_user}","gists_url":"https://api.github.com/users/herewithme/gists{/gist_id}","starred_url":"https://api.github.com/users/herewithme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herewithme/subscriptions","organizations_url":"https://api.github.com/users/herewithme/orgs","repos_url":"https://api.github.com/users/herewithme/repos","events_url":"https://api.github.com/users/herewithme/events{/privacy}","received_events_url":"https://api.github.com/users/herewithme/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-17T16:31:05Z","updated_at":"2017-10-17T16:31:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07f451790dd62b9c6bebbe934cb25ca5f3d91338","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17/commits","review_comments_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17/comments","review_comment_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/17/comments","statuses_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/statuses/bcade7da295e6b16b7156c1bf6b8acf521667c40","head":{"label":"BeAPI:p2p-issues","ref":"p2p-issues","sha":"bcade7da295e6b16b7156c1bf6b8acf521667c40","user":{"login":"BeAPI","id":2190273,"avatar_url":"https://avatars2.githubusercontent.com/u/2190273?v=4","gravatar_id":"","url":"https://api.github.com/users/BeAPI","html_url":"https://github.com/BeAPI","followers_url":"https://api.github.com/users/BeAPI/followers","following_url":"https://api.github.com/users/BeAPI/following{/other_user}","gists_url":"https://api.github.com/users/BeAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/BeAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeAPI/subscriptions","organizations_url":"https://api.github.com/users/BeAPI/orgs","repos_url":"https://api.github.com/users/BeAPI/repos","events_url":"https://api.github.com/users/BeAPI/events{/privacy}","received_events_url":"https://api.github.com/users/BeAPI/received_events","type":"Organization","site_admin":false},"repo":{"id":12245928,"name":"bea-content-sync-fusion","full_name":"BeAPI/bea-content-sync-fusion","owner":{"login":"BeAPI","id":2190273,"avatar_url":"https://avatars2.githubusercontent.com/u/2190273?v=4","gravatar_id":"","url":"https://api.github.com/users/BeAPI","html_url":"https://github.com/BeAPI","followers_url":"https://api.github.com/users/BeAPI/followers","following_url":"https://api.github.com/users/BeAPI/following{/other_user}","gists_url":"https://api.github.com/users/BeAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/BeAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeAPI/subscriptions","organizations_url":"https://api.github.com/users/BeAPI/orgs","repos_url":"https://api.github.com/users/BeAPI/repos","events_url":"https://api.github.com/users/BeAPI/events{/privacy}","received_events_url":"https://api.github.com/users/BeAPI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BeAPI/bea-content-sync-fusion","description":"Manage content synchronisation across a WordPress Multisite.","fork":false,"url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion","forks_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/forks","keys_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/teams","hooks_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/hooks","issue_events_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/events{/number}","events_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/events","assignees_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/assignees{/user}","branches_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/branches{/branch}","tags_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/tags","blobs_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/refs{/sha}","trees_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/statuses/{sha}","languages_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/languages","stargazers_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/stargazers","contributors_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/contributors","subscribers_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/subscribers","subscription_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/subscription","commits_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/commits{/sha}","git_commits_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/commits{/sha}","comments_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/comments{/number}","issue_comment_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/comments{/number}","contents_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/contents/{+path}","compare_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/merges","archive_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/downloads","issues_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues{/number}","pulls_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls{/number}","milestones_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/milestones{/number}","notifications_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/labels{/name}","releases_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/releases{/id}","deployments_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/deployments","created_at":"2013-08-20T15:00:59Z","updated_at":"2017-09-05T09:55:37Z","pushed_at":"2017-10-17T16:31:06Z","git_url":"git://github.com/BeAPI/bea-content-sync-fusion.git","ssh_url":"git@github.com:BeAPI/bea-content-sync-fusion.git","clone_url":"https://github.com/BeAPI/bea-content-sync-fusion.git","svn_url":"https://github.com/BeAPI/bea-content-sync-fusion","homepage":"https://beapi.fr","size":422,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":7,"default_branch":"master"}},"base":{"label":"BeAPI:master","ref":"master","sha":"173bfd19ade24a15e6bce26cb277125a365b0553","user":{"login":"BeAPI","id":2190273,"avatar_url":"https://avatars2.githubusercontent.com/u/2190273?v=4","gravatar_id":"","url":"https://api.github.com/users/BeAPI","html_url":"https://github.com/BeAPI","followers_url":"https://api.github.com/users/BeAPI/followers","following_url":"https://api.github.com/users/BeAPI/following{/other_user}","gists_url":"https://api.github.com/users/BeAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/BeAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeAPI/subscriptions","organizations_url":"https://api.github.com/users/BeAPI/orgs","repos_url":"https://api.github.com/users/BeAPI/repos","events_url":"https://api.github.com/users/BeAPI/events{/privacy}","received_events_url":"https://api.github.com/users/BeAPI/received_events","type":"Organization","site_admin":false},"repo":{"id":12245928,"name":"bea-content-sync-fusion","full_name":"BeAPI/bea-content-sync-fusion","owner":{"login":"BeAPI","id":2190273,"avatar_url":"https://avatars2.githubusercontent.com/u/2190273?v=4","gravatar_id":"","url":"https://api.github.com/users/BeAPI","html_url":"https://github.com/BeAPI","followers_url":"https://api.github.com/users/BeAPI/followers","following_url":"https://api.github.com/users/BeAPI/following{/other_user}","gists_url":"https://api.github.com/users/BeAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/BeAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeAPI/subscriptions","organizations_url":"https://api.github.com/users/BeAPI/orgs","repos_url":"https://api.github.com/users/BeAPI/repos","events_url":"https://api.github.com/users/BeAPI/events{/privacy}","received_events_url":"https://api.github.com/users/BeAPI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BeAPI/bea-content-sync-fusion","description":"Manage content synchronisation across a WordPress Multisite.","fork":false,"url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion","forks_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/forks","keys_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/teams","hooks_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/hooks","issue_events_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/events{/number}","events_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/events","assignees_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/assignees{/user}","branches_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/branches{/branch}","tags_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/tags","blobs_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/refs{/sha}","trees_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/statuses/{sha}","languages_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/languages","stargazers_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/stargazers","contributors_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/contributors","subscribers_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/subscribers","subscription_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/subscription","commits_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/commits{/sha}","git_commits_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/git/commits{/sha}","comments_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/comments{/number}","issue_comment_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/comments{/number}","contents_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/contents/{+path}","compare_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/merges","archive_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/downloads","issues_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues{/number}","pulls_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls{/number}","milestones_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/milestones{/number}","notifications_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/labels{/name}","releases_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/releases{/id}","deployments_url":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/deployments","created_at":"2013-08-20T15:00:59Z","updated_at":"2017-09-05T09:55:37Z","pushed_at":"2017-10-17T16:31:06Z","git_url":"git://github.com/BeAPI/bea-content-sync-fusion.git","ssh_url":"git@github.com:BeAPI/bea-content-sync-fusion.git","clone_url":"https://github.com/BeAPI/bea-content-sync-fusion.git","svn_url":"https://github.com/BeAPI/bea-content-sync-fusion","homepage":"https://beapi.fr","size":422,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17"},"html":{"href":"https://github.com/BeAPI/bea-content-sync-fusion/pull/17"},"issue":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/17"},"comments":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/BeAPI/bea-content-sync-fusion/statuses/bcade7da295e6b16b7156c1bf6b8acf521667c40"}},"author_association":"OWNER"}}
{"actor":{"display_login":"stickler-ci"}}