{"action":"created","comment":{"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments/190550140","pull_request_review_id":122947365,"id":190550140,"diff_hunk":"@@ -343,6 +343,10 @@ public function add( $args = array() ) {\n \n \t\t$args = wp_parse_args( $args, $defaults );\n \n+\t\tif( empty( $args['email'] ) ) {\n+\t\t\treturn false;","path":"includes/class-customers-db.php","position":null,"original_position":5,"commit_id":"f6046738eb621b03ad3d7a3715a842b80491b6b8","original_commit_id":"ab2c4cefc02e68bf91155b1afe4c28762312ef5a","user":{"login":"tubiz","id":602184,"avatar_url":"https://avatars0.githubusercontent.com/u/602184?v=4","gravatar_id":"","url":"https://api.github.com/users/tubiz","html_url":"https://github.com/tubiz","followers_url":"https://api.github.com/users/tubiz/followers","following_url":"https://api.github.com/users/tubiz/following{/other_user}","gists_url":"https://api.github.com/users/tubiz/gists{/gist_id}","starred_url":"https://api.github.com/users/tubiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tubiz/subscriptions","organizations_url":"https://api.github.com/users/tubiz/orgs","repos_url":"https://api.github.com/users/tubiz/repos","events_url":"https://api.github.com/users/tubiz/events{/privacy}","received_events_url":"https://api.github.com/users/tubiz/received_events","type":"User","site_admin":false},"body":"@DrewAPicture PR updated.","created_at":"2018-05-24T11:19:01Z","updated_at":"2018-05-24T11:19:01Z","html_url":"https://github.com/AffiliateWP/AffiliateWP/pull/2682#discussion_r190550140","pull_request_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments/190550140"},"html":{"href":"https://github.com/AffiliateWP/AffiliateWP/pull/2682#discussion_r190550140"},"pull_request":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682"}},"in_reply_to_id":190289180},"pull_request":{"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682","id":189914492,"html_url":"https://github.com/AffiliateWP/AffiliateWP/pull/2682","diff_url":"https://github.com/AffiliateWP/AffiliateWP/pull/2682.diff","patch_url":"https://github.com/AffiliateWP/AffiliateWP/pull/2682.patch","issue_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/2682","number":2682,"state":"open","locked":false,"title":"Issue/2681  - Only add an affiliate customer record if the customer email is set","user":{"login":"tubiz","id":602184,"avatar_url":"https://avatars0.githubusercontent.com/u/602184?v=4","gravatar_id":"","url":"https://api.github.com/users/tubiz","html_url":"https://github.com/tubiz","followers_url":"https://api.github.com/users/tubiz/followers","following_url":"https://api.github.com/users/tubiz/following{/other_user}","gists_url":"https://api.github.com/users/tubiz/gists{/gist_id}","starred_url":"https://api.github.com/users/tubiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tubiz/subscriptions","organizations_url":"https://api.github.com/users/tubiz/orgs","repos_url":"https://api.github.com/users/tubiz/repos","events_url":"https://api.github.com/users/tubiz/events{/privacy}","received_events_url":"https://api.github.com/users/tubiz/received_events","type":"User","site_admin":false},"body":"Issue: #2681","created_at":"2018-05-23T09:42:47Z","updated_at":"2018-05-24T11:19:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09fe4a035d9baf2c7fff1eb79bdc13bc593da8e1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682/commits","review_comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682/comments","review_comment_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/2682/comments","statuses_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/f6046738eb621b03ad3d7a3715a842b80491b6b8","head":{"label":"tubiz:issue/2681","ref":"issue/2681","sha":"f6046738eb621b03ad3d7a3715a842b80491b6b8","user":{"login":"tubiz","id":602184,"avatar_url":"https://avatars0.githubusercontent.com/u/602184?v=4","gravatar_id":"","url":"https://api.github.com/users/tubiz","html_url":"https://github.com/tubiz","followers_url":"https://api.github.com/users/tubiz/followers","following_url":"https://api.github.com/users/tubiz/following{/other_user}","gists_url":"https://api.github.com/users/tubiz/gists{/gist_id}","starred_url":"https://api.github.com/users/tubiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tubiz/subscriptions","organizations_url":"https://api.github.com/users/tubiz/orgs","repos_url":"https://api.github.com/users/tubiz/repos","events_url":"https://api.github.com/users/tubiz/events{/privacy}","received_events_url":"https://api.github.com/users/tubiz/received_events","type":"User","site_admin":false},"repo":{"id":113568461,"name":"AffiliateWP","full_name":"tubiz/AffiliateWP","owner":{"login":"tubiz","id":602184,"avatar_url":"https://avatars0.githubusercontent.com/u/602184?v=4","gravatar_id":"","url":"https://api.github.com/users/tubiz","html_url":"https://github.com/tubiz","followers_url":"https://api.github.com/users/tubiz/followers","following_url":"https://api.github.com/users/tubiz/following{/other_user}","gists_url":"https://api.github.com/users/tubiz/gists{/gist_id}","starred_url":"https://api.github.com/users/tubiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tubiz/subscriptions","organizations_url":"https://api.github.com/users/tubiz/orgs","repos_url":"https://api.github.com/users/tubiz/repos","events_url":"https://api.github.com/users/tubiz/events{/privacy}","received_events_url":"https://api.github.com/users/tubiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tubiz/AffiliateWP","description":"Affiliate Marketing plugin for WordPress","fork":true,"url":"https://api.github.com/repos/tubiz/AffiliateWP","forks_url":"https://api.github.com/repos/tubiz/AffiliateWP/forks","keys_url":"https://api.github.com/repos/tubiz/AffiliateWP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tubiz/AffiliateWP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tubiz/AffiliateWP/teams","hooks_url":"https://api.github.com/repos/tubiz/AffiliateWP/hooks","issue_events_url":"https://api.github.com/repos/tubiz/AffiliateWP/issues/events{/number}","events_url":"https://api.github.com/repos/tubiz/AffiliateWP/events","assignees_url":"https://api.github.com/repos/tubiz/AffiliateWP/assignees{/user}","branches_url":"https://api.github.com/repos/tubiz/AffiliateWP/branches{/branch}","tags_url":"https://api.github.com/repos/tubiz/AffiliateWP/tags","blobs_url":"https://api.github.com/repos/tubiz/AffiliateWP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tubiz/AffiliateWP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tubiz/AffiliateWP/git/refs{/sha}","trees_url":"https://api.github.com/repos/tubiz/AffiliateWP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tubiz/AffiliateWP/statuses/{sha}","languages_url":"https://api.github.com/repos/tubiz/AffiliateWP/languages","stargazers_url":"https://api.github.com/repos/tubiz/AffiliateWP/stargazers","contributors_url":"https://api.github.com/repos/tubiz/AffiliateWP/contributors","subscribers_url":"https://api.github.com/repos/tubiz/AffiliateWP/subscribers","subscription_url":"https://api.github.com/repos/tubiz/AffiliateWP/subscription","commits_url":"https://api.github.com/repos/tubiz/AffiliateWP/commits{/sha}","git_commits_url":"https://api.github.com/repos/tubiz/AffiliateWP/git/commits{/sha}","comments_url":"https://api.github.com/repos/tubiz/AffiliateWP/comments{/number}","issue_comment_url":"https://api.github.com/repos/tubiz/AffiliateWP/issues/comments{/number}","contents_url":"https://api.github.com/repos/tubiz/AffiliateWP/contents/{+path}","compare_url":"https://api.github.com/repos/tubiz/AffiliateWP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tubiz/AffiliateWP/merges","archive_url":"https://api.github.com/repos/tubiz/AffiliateWP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tubiz/AffiliateWP/downloads","issues_url":"https://api.github.com/repos/tubiz/AffiliateWP/issues{/number}","pulls_url":"https://api.github.com/repos/tubiz/AffiliateWP/pulls{/number}","milestones_url":"https://api.github.com/repos/tubiz/AffiliateWP/milestones{/number}","notifications_url":"https://api.github.com/repos/tubiz/AffiliateWP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tubiz/AffiliateWP/labels{/name}","releases_url":"https://api.github.com/repos/tubiz/AffiliateWP/releases{/id}","deployments_url":"https://api.github.com/repos/tubiz/AffiliateWP/deployments","created_at":"2017-12-08T11:42:07Z","updated_at":"2017-12-08T11:42:10Z","pushed_at":"2018-05-24T11:18:00Z","git_url":"git://github.com/tubiz/AffiliateWP.git","ssh_url":"git@github.com:tubiz/AffiliateWP.git","clone_url":"https://github.com/tubiz/AffiliateWP.git","svn_url":"https://github.com/tubiz/AffiliateWP","homepage":"https://affiliatewp.com","size":21250,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AffiliateWP:master","ref":"master","sha":"80501b5e36af35d18a00e48c84f391ae34b50a37","user":{"login":"AffiliateWP","id":7075307,"avatar_url":"https://avatars0.githubusercontent.com/u/7075307?v=4","gravatar_id":"","url":"https://api.github.com/users/AffiliateWP","html_url":"https://github.com/AffiliateWP","followers_url":"https://api.github.com/users/AffiliateWP/followers","following_url":"https://api.github.com/users/AffiliateWP/following{/other_user}","gists_url":"https://api.github.com/users/AffiliateWP/gists{/gist_id}","starred_url":"https://api.github.com/users/AffiliateWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AffiliateWP/subscriptions","organizations_url":"https://api.github.com/users/AffiliateWP/orgs","repos_url":"https://api.github.com/users/AffiliateWP/repos","events_url":"https://api.github.com/users/AffiliateWP/events{/privacy}","received_events_url":"https://api.github.com/users/AffiliateWP/received_events","type":"Organization","site_admin":false},"repo":{"id":15543455,"name":"AffiliateWP","full_name":"AffiliateWP/AffiliateWP","owner":{"login":"AffiliateWP","id":7075307,"avatar_url":"https://avatars0.githubusercontent.com/u/7075307?v=4","gravatar_id":"","url":"https://api.github.com/users/AffiliateWP","html_url":"https://github.com/AffiliateWP","followers_url":"https://api.github.com/users/AffiliateWP/followers","following_url":"https://api.github.com/users/AffiliateWP/following{/other_user}","gists_url":"https://api.github.com/users/AffiliateWP/gists{/gist_id}","starred_url":"https://api.github.com/users/AffiliateWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AffiliateWP/subscriptions","organizations_url":"https://api.github.com/users/AffiliateWP/orgs","repos_url":"https://api.github.com/users/AffiliateWP/repos","events_url":"https://api.github.com/users/AffiliateWP/events{/privacy}","received_events_url":"https://api.github.com/users/AffiliateWP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AffiliateWP/AffiliateWP","description":"Affiliate Marketing plugin for WordPress","fork":false,"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP","forks_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/forks","keys_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/teams","hooks_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/hooks","issue_events_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/events{/number}","events_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/events","assignees_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/assignees{/user}","branches_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/branches{/branch}","tags_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/tags","blobs_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/git/refs{/sha}","trees_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/{sha}","languages_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/languages","stargazers_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/stargazers","contributors_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/contributors","subscribers_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/subscribers","subscription_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/subscription","commits_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/commits{/sha}","git_commits_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/git/commits{/sha}","comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/comments{/number}","issue_comment_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/comments{/number}","contents_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/contents/{+path}","compare_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/merges","archive_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/downloads","issues_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues{/number}","pulls_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls{/number}","milestones_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/milestones{/number}","notifications_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/labels{/name}","releases_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/releases{/id}","deployments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/deployments","created_at":"2013-12-31T05:09:28Z","updated_at":"2018-05-21T13:54:33Z","pushed_at":"2018-05-24T11:18:02Z","git_url":"git://github.com/AffiliateWP/AffiliateWP.git","ssh_url":"git@github.com:AffiliateWP/AffiliateWP.git","clone_url":"https://github.com/AffiliateWP/AffiliateWP.git","svn_url":"https://github.com/AffiliateWP/AffiliateWP","homepage":"https://affiliatewp.com","size":21243,"stargazers_count":291,"watchers_count":291,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"archived":false,"open_issues_count":307,"license":null,"forks":150,"open_issues":307,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682"},"html":{"href":"https://github.com/AffiliateWP/AffiliateWP/pull/2682"},"issue":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/2682"},"comments":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/2682/comments"},"review_comments":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682/comments"},"review_comment":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/2682/commits"},"statuses":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/f6046738eb621b03ad3d7a3715a842b80491b6b8"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tubiz"}}