{"action":"created","comment":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/comments/31861377","id":31861377,"diff_hunk":"@@ -88,7 +88,7 @@ public function insert_pending_referral( $amount = '', $reference = 0, $descript\n \t\t\t'description'  => $description,\n \t\t\t'affiliate_id' => $this->affiliate_id,\n \t\t\t'visit_id'     => $visit_id,\n-\t\t\t'products'     => ! empty( $products ) ? maybe_serialize( $products ) : '',","path":"includes/integrations/class-base.php","position":4,"original_position":4,"commit_id":"30b064e573665629bdef60c2a3d9e6e5b5e3cdf3","original_commit_id":"30b064e573665629bdef60c2a3d9e6e5b5e3cdf3","user":{"login":"codelion7","id":4017745,"avatar_url":"https://avatars.githubusercontent.com/u/4017745?v=3","gravatar_id":"","url":"https://api.github.com/users/codelion7","html_url":"https://github.com/codelion7","followers_url":"https://api.github.com/users/codelion7/followers","following_url":"https://api.github.com/users/codelion7/following{/other_user}","gists_url":"https://api.github.com/users/codelion7/gists{/gist_id}","starred_url":"https://api.github.com/users/codelion7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelion7/subscriptions","organizations_url":"https://api.github.com/users/codelion7/orgs","repos_url":"https://api.github.com/users/codelion7/repos","events_url":"https://api.github.com/users/codelion7/events{/privacy}","received_events_url":"https://api.github.com/users/codelion7/received_events","type":"User","site_admin":false},"body":"I noticed that the other integrations, namely woocommerce, were saving the products data in an unserialized format. And I thought it may be best to remove the serialization for consistency. Is there a need for serialization here?","created_at":"2015-06-06T00:15:14Z","updated_at":"2015-06-06T00:15:14Z","html_url":"https://github.com/affiliatewp/AffiliateWP/pull/670#discussion_r31861377","pull_request_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670","_links":{"self":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/comments/31861377"},"html":{"href":"https://github.com/affiliatewp/AffiliateWP/pull/670#discussion_r31861377"},"pull_request":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670"}}},"pull_request":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670","id":34114003,"html_url":"https://github.com/affiliatewp/AffiliateWP/pull/670","diff_url":"https://github.com/affiliatewp/AffiliateWP/pull/670.diff","patch_url":"https://github.com/affiliatewp/AffiliateWP/pull/670.patch","issue_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/670","number":670,"state":"open","locked":false,"title":"Add Per-Product Rates and Rate Types","user":{"login":"codelion7","id":4017745,"avatar_url":"https://avatars.githubusercontent.com/u/4017745?v=3","gravatar_id":"","url":"https://api.github.com/users/codelion7","html_url":"https://github.com/codelion7","followers_url":"https://api.github.com/users/codelion7/followers","following_url":"https://api.github.com/users/codelion7/following{/other_user}","gists_url":"https://api.github.com/users/codelion7/gists{/gist_id}","starred_url":"https://api.github.com/users/codelion7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelion7/subscriptions","organizations_url":"https://api.github.com/users/codelion7/orgs","repos_url":"https://api.github.com/users/codelion7/repos","events_url":"https://api.github.com/users/codelion7/events{/privacy}","received_events_url":"https://api.github.com/users/codelion7/received_events","type":"User","site_admin":false},"body":"- Added per-product rate and type to PMP\r\n- Added per product rate type to WooCommerce, and EDD","created_at":"2015-04-25T22:10:02Z","updated_at":"2015-06-06T00:15:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82a40c451fdfae420dee58f60e352ade852dd10e","assignee":null,"milestone":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/milestones/29","html_url":"https://github.com/affiliatewp/AffiliateWP/milestones/1.7","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/milestones/29/labels","id":926517,"number":29,"title":"1.7","description":null,"creator":{"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},"open_issues":32,"closed_issues":0,"state":"open","created_at":"2015-01-08T02:39:33Z","updated_at":"2015-05-31T15:26:08Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670/commits","review_comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670/comments","review_comment_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/670/comments","statuses_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/statuses/30b064e573665629bdef60c2a3d9e6e5b5e3cdf3","head":{"label":"codelion7:master","ref":"master","sha":"30b064e573665629bdef60c2a3d9e6e5b5e3cdf3","user":{"login":"codelion7","id":4017745,"avatar_url":"https://avatars.githubusercontent.com/u/4017745?v=3","gravatar_id":"","url":"https://api.github.com/users/codelion7","html_url":"https://github.com/codelion7","followers_url":"https://api.github.com/users/codelion7/followers","following_url":"https://api.github.com/users/codelion7/following{/other_user}","gists_url":"https://api.github.com/users/codelion7/gists{/gist_id}","starred_url":"https://api.github.com/users/codelion7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelion7/subscriptions","organizations_url":"https://api.github.com/users/codelion7/orgs","repos_url":"https://api.github.com/users/codelion7/repos","events_url":"https://api.github.com/users/codelion7/events{/privacy}","received_events_url":"https://api.github.com/users/codelion7/received_events","type":"User","site_admin":false},"repo":{"id":34586649,"name":"AffiliateWP","full_name":"codelion7/AffiliateWP","owner":{"login":"codelion7","id":4017745,"avatar_url":"https://avatars.githubusercontent.com/u/4017745?v=3","gravatar_id":"","url":"https://api.github.com/users/codelion7","html_url":"https://github.com/codelion7","followers_url":"https://api.github.com/users/codelion7/followers","following_url":"https://api.github.com/users/codelion7/following{/other_user}","gists_url":"https://api.github.com/users/codelion7/gists{/gist_id}","starred_url":"https://api.github.com/users/codelion7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codelion7/subscriptions","organizations_url":"https://api.github.com/users/codelion7/orgs","repos_url":"https://api.github.com/users/codelion7/repos","events_url":"https://api.github.com/users/codelion7/events{/privacy}","received_events_url":"https://api.github.com/users/codelion7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codelion7/AffiliateWP","description":"Affiliate plugin for WordPress","fork":true,"url":"https://api.github.com/repos/codelion7/AffiliateWP","forks_url":"https://api.github.com/repos/codelion7/AffiliateWP/forks","keys_url":"https://api.github.com/repos/codelion7/AffiliateWP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codelion7/AffiliateWP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codelion7/AffiliateWP/teams","hooks_url":"https://api.github.com/repos/codelion7/AffiliateWP/hooks","issue_events_url":"https://api.github.com/repos/codelion7/AffiliateWP/issues/events{/number}","events_url":"https://api.github.com/repos/codelion7/AffiliateWP/events","assignees_url":"https://api.github.com/repos/codelion7/AffiliateWP/assignees{/user}","branches_url":"https://api.github.com/repos/codelion7/AffiliateWP/branches{/branch}","tags_url":"https://api.github.com/repos/codelion7/AffiliateWP/tags","blobs_url":"https://api.github.com/repos/codelion7/AffiliateWP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codelion7/AffiliateWP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codelion7/AffiliateWP/git/refs{/sha}","trees_url":"https://api.github.com/repos/codelion7/AffiliateWP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codelion7/AffiliateWP/statuses/{sha}","languages_url":"https://api.github.com/repos/codelion7/AffiliateWP/languages","stargazers_url":"https://api.github.com/repos/codelion7/AffiliateWP/stargazers","contributors_url":"https://api.github.com/repos/codelion7/AffiliateWP/contributors","subscribers_url":"https://api.github.com/repos/codelion7/AffiliateWP/subscribers","subscription_url":"https://api.github.com/repos/codelion7/AffiliateWP/subscription","commits_url":"https://api.github.com/repos/codelion7/AffiliateWP/commits{/sha}","git_commits_url":"https://api.github.com/repos/codelion7/AffiliateWP/git/commits{/sha}","comments_url":"https://api.github.com/repos/codelion7/AffiliateWP/comments{/number}","issue_comment_url":"https://api.github.com/repos/codelion7/AffiliateWP/issues/comments{/number}","contents_url":"https://api.github.com/repos/codelion7/AffiliateWP/contents/{+path}","compare_url":"https://api.github.com/repos/codelion7/AffiliateWP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codelion7/AffiliateWP/merges","archive_url":"https://api.github.com/repos/codelion7/AffiliateWP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codelion7/AffiliateWP/downloads","issues_url":"https://api.github.com/repos/codelion7/AffiliateWP/issues{/number}","pulls_url":"https://api.github.com/repos/codelion7/AffiliateWP/pulls{/number}","milestones_url":"https://api.github.com/repos/codelion7/AffiliateWP/milestones{/number}","notifications_url":"https://api.github.com/repos/codelion7/AffiliateWP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codelion7/AffiliateWP/labels{/name}","releases_url":"https://api.github.com/repos/codelion7/AffiliateWP/releases{/id}","created_at":"2015-04-25T21:20:24Z","updated_at":"2015-04-26T00:23:26Z","pushed_at":"2015-04-26T00:23:26Z","git_url":"git://github.com/codelion7/AffiliateWP.git","ssh_url":"git@github.com:codelion7/AffiliateWP.git","clone_url":"https://github.com/codelion7/AffiliateWP.git","svn_url":"https://github.com/codelion7/AffiliateWP","homepage":null,"size":3184,"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":"affiliatewp:master","ref":"master","sha":"da403e63fad7c866700ba8eb26ef3e04ce964a0f","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-06-05T05:58:35Z","pushed_at":"2015-06-03T13:50:13Z","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":7740,"stargazers_count":129,"watchers_count":129,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":160,"forks":56,"open_issues":160,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670"},"html":{"href":"https://github.com/affiliatewp/AffiliateWP/pull/670"},"issue":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/670"},"comments":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/affiliatewp/AffiliateWP/statuses/30b064e573665629bdef60c2a3d9e6e5b5e3cdf3"}}}}