{"action":"closed","number":979,"pull_request":{"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/979","id":51178820,"html_url":"https://github.com/AffiliateWP/AffiliateWP/pull/979","diff_url":"https://github.com/AffiliateWP/AffiliateWP/pull/979.diff","patch_url":"https://github.com/AffiliateWP/AffiliateWP/pull/979.patch","issue_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/979","number":979,"state":"closed","locked":false,"title":"calculate product referral rates","user":{"login":"sumobi","id":52581,"avatar_url":"https://avatars.githubusercontent.com/u/52581?v=3","gravatar_id":"","url":"https://api.github.com/users/sumobi","html_url":"https://github.com/sumobi","followers_url":"https://api.github.com/users/sumobi/followers","following_url":"https://api.github.com/users/sumobi/following{/other_user}","gists_url":"https://api.github.com/users/sumobi/gists{/gist_id}","starred_url":"https://api.github.com/users/sumobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumobi/subscriptions","organizations_url":"https://api.github.com/users/sumobi/orgs","repos_url":"https://api.github.com/users/sumobi/repos","events_url":"https://api.github.com/users/sumobi/events{/privacy}","received_events_url":"https://api.github.com/users/sumobi/received_events","type":"User","site_admin":false},"body":"Fixes #978","created_at":"2015-11-19T04:26:56Z","updated_at":"2015-11-20T18:43:19Z","closed_at":"2015-11-20T18:43:19Z","merged_at":"2015-11-20T18:43:19Z","merge_commit_sha":"d9b01df9db3b53b3d2d3d28e3e873115515b3abf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/979/commits","review_comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/979/comments","review_comment_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/979/comments","statuses_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/3bbb66f1b52db0f4e2dfd09678ca20ba026079c5","head":{"label":"AffiliateWP:issue/978","ref":"issue/978","sha":"3bbb66f1b52db0f4e2dfd09678ca20ba026079c5","user":{"login":"AffiliateWP","id":7075307,"avatar_url":"https://avatars.githubusercontent.com/u/7075307?v=3","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://avatars.githubusercontent.com/u/7075307?v=3","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 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}","created_at":"2013-12-31T05:09:28Z","updated_at":"2015-11-11T18:21:01Z","pushed_at":"2015-11-20T18:43:19Z","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":null,"size":5249,"stargazers_count":153,"watchers_count":153,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":185,"forks":72,"open_issues":185,"watchers":153,"default_branch":"master"}},"base":{"label":"AffiliateWP:master","ref":"master","sha":"be7151f89eb1bdfa8b64f41a493a8b3ed23a7735","user":{"login":"AffiliateWP","id":7075307,"avatar_url":"https://avatars.githubusercontent.com/u/7075307?v=3","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://avatars.githubusercontent.com/u/7075307?v=3","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 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}","created_at":"2013-12-31T05:09:28Z","updated_at":"2015-11-11T18:21:01Z","pushed_at":"2015-11-20T18:43:19Z","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":null,"size":5249,"stargazers_count":153,"watchers_count":153,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":185,"forks":72,"open_issues":185,"watchers":153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/979"},"html":{"href":"https://github.com/AffiliateWP/AffiliateWP/pull/979"},"issue":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/979"},"comments":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/979/comments"},"review_comments":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/979/comments"},"review_comment":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/979/commits"},"statuses":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/3bbb66f1b52db0f4e2dfd09678ca20ba026079c5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":2,"additions":8,"deletions":4,"changed_files":1}}