{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/9","id":46074318,"html_url":"https://github.com/cedaro/woocommerce-coupon-links/pull/9","diff_url":"https://github.com/cedaro/woocommerce-coupon-links/pull/9.diff","patch_url":"https://github.com/cedaro/woocommerce-coupon-links/pull/9.patch","issue_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues/9","number":9,"state":"open","locked":false,"title":"Update woocommerce-coupon-links.php","user":{"login":"jameslporter","id":28368,"avatar_url":"https://avatars.githubusercontent.com/u/28368?v=3","gravatar_id":"","url":"https://api.github.com/users/jameslporter","html_url":"https://github.com/jameslporter","followers_url":"https://api.github.com/users/jameslporter/followers","following_url":"https://api.github.com/users/jameslporter/following{/other_user}","gists_url":"https://api.github.com/users/jameslporter/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslporter/subscriptions","organizations_url":"https://api.github.com/users/jameslporter/orgs","repos_url":"https://api.github.com/users/jameslporter/repos","events_url":"https://api.github.com/users/jameslporter/events{/privacy}","received_events_url":"https://api.github.com/users/jameslporter/received_events","type":"User","site_admin":false},"body":"http://stackoverflow.com/questions/24477698/how-to-properly-initialize-woocommerce-cart\r\n\r\nSeems to have corrected it for me! Otherwise you might try moving it up before the bailout lines above.","created_at":"2015-09-26T03:22:11Z","updated_at":"2015-09-26T03:22:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/9/commits","review_comments_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/9/comments","review_comment_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues/9/comments","statuses_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/statuses/09a3828595a520f5b1d3cb7ee660a5cd339fecbb","head":{"label":"jameslporter:patch-1","ref":"patch-1","sha":"09a3828595a520f5b1d3cb7ee660a5cd339fecbb","user":{"login":"jameslporter","id":28368,"avatar_url":"https://avatars.githubusercontent.com/u/28368?v=3","gravatar_id":"","url":"https://api.github.com/users/jameslporter","html_url":"https://github.com/jameslporter","followers_url":"https://api.github.com/users/jameslporter/followers","following_url":"https://api.github.com/users/jameslporter/following{/other_user}","gists_url":"https://api.github.com/users/jameslporter/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslporter/subscriptions","organizations_url":"https://api.github.com/users/jameslporter/orgs","repos_url":"https://api.github.com/users/jameslporter/repos","events_url":"https://api.github.com/users/jameslporter/events{/privacy}","received_events_url":"https://api.github.com/users/jameslporter/received_events","type":"User","site_admin":false},"repo":{"id":43189750,"name":"woocommerce-coupon-links","full_name":"jameslporter/woocommerce-coupon-links","owner":{"login":"jameslporter","id":28368,"avatar_url":"https://avatars.githubusercontent.com/u/28368?v=3","gravatar_id":"","url":"https://api.github.com/users/jameslporter","html_url":"https://github.com/jameslporter","followers_url":"https://api.github.com/users/jameslporter/followers","following_url":"https://api.github.com/users/jameslporter/following{/other_user}","gists_url":"https://api.github.com/users/jameslporter/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslporter/subscriptions","organizations_url":"https://api.github.com/users/jameslporter/orgs","repos_url":"https://api.github.com/users/jameslporter/repos","events_url":"https://api.github.com/users/jameslporter/events{/privacy}","received_events_url":"https://api.github.com/users/jameslporter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jameslporter/woocommerce-coupon-links","description":"A WordPress plugin to automatically apply WooCommerce coupon codes to the cart via a URL.","fork":true,"url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links","forks_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/forks","keys_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/teams","hooks_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/hooks","issue_events_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/issues/events{/number}","events_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/events","assignees_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/assignees{/user}","branches_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/branches{/branch}","tags_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/tags","blobs_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/git/refs{/sha}","trees_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/statuses/{sha}","languages_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/languages","stargazers_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/stargazers","contributors_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/contributors","subscribers_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/subscribers","subscription_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/subscription","commits_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/commits{/sha}","git_commits_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/git/commits{/sha}","comments_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/comments{/number}","issue_comment_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/issues/comments{/number}","contents_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/contents/{+path}","compare_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/merges","archive_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/downloads","issues_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/issues{/number}","pulls_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/pulls{/number}","milestones_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/milestones{/number}","notifications_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/labels{/name}","releases_url":"https://api.github.com/repos/jameslporter/woocommerce-coupon-links/releases{/id}","created_at":"2015-09-26T03:17:12Z","updated_at":"2015-09-26T03:17:13Z","pushed_at":"2015-09-26T03:21:23Z","git_url":"git://github.com/jameslporter/woocommerce-coupon-links.git","ssh_url":"git@github.com:jameslporter/woocommerce-coupon-links.git","clone_url":"https://github.com/jameslporter/woocommerce-coupon-links.git","svn_url":"https://github.com/jameslporter/woocommerce-coupon-links","homepage":"","size":169,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"cedaro:develop","ref":"develop","sha":"6d985c51543f5e1b477ac257b2c21b2e0cbcbe56","user":{"login":"cedaro","id":7840909,"avatar_url":"https://avatars.githubusercontent.com/u/7840909?v=3","gravatar_id":"","url":"https://api.github.com/users/cedaro","html_url":"https://github.com/cedaro","followers_url":"https://api.github.com/users/cedaro/followers","following_url":"https://api.github.com/users/cedaro/following{/other_user}","gists_url":"https://api.github.com/users/cedaro/gists{/gist_id}","starred_url":"https://api.github.com/users/cedaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedaro/subscriptions","organizations_url":"https://api.github.com/users/cedaro/orgs","repos_url":"https://api.github.com/users/cedaro/repos","events_url":"https://api.github.com/users/cedaro/events{/privacy}","received_events_url":"https://api.github.com/users/cedaro/received_events","type":"Organization","site_admin":false},"repo":{"id":12964644,"name":"woocommerce-coupon-links","full_name":"cedaro/woocommerce-coupon-links","owner":{"login":"cedaro","id":7840909,"avatar_url":"https://avatars.githubusercontent.com/u/7840909?v=3","gravatar_id":"","url":"https://api.github.com/users/cedaro","html_url":"https://github.com/cedaro","followers_url":"https://api.github.com/users/cedaro/followers","following_url":"https://api.github.com/users/cedaro/following{/other_user}","gists_url":"https://api.github.com/users/cedaro/gists{/gist_id}","starred_url":"https://api.github.com/users/cedaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedaro/subscriptions","organizations_url":"https://api.github.com/users/cedaro/orgs","repos_url":"https://api.github.com/users/cedaro/repos","events_url":"https://api.github.com/users/cedaro/events{/privacy}","received_events_url":"https://api.github.com/users/cedaro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cedaro/woocommerce-coupon-links","description":"A WordPress plugin to automatically apply WooCommerce coupon codes to the cart via a URL.","fork":false,"url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links","forks_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/forks","keys_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/teams","hooks_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/hooks","issue_events_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues/events{/number}","events_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/events","assignees_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/assignees{/user}","branches_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/branches{/branch}","tags_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/tags","blobs_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/git/refs{/sha}","trees_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/statuses/{sha}","languages_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/languages","stargazers_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/stargazers","contributors_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/contributors","subscribers_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/subscribers","subscription_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/subscription","commits_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/commits{/sha}","git_commits_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/git/commits{/sha}","comments_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/comments{/number}","issue_comment_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues/comments{/number}","contents_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/contents/{+path}","compare_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/merges","archive_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/downloads","issues_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues{/number}","pulls_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls{/number}","milestones_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/milestones{/number}","notifications_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/labels{/name}","releases_url":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/releases{/id}","created_at":"2013-09-20T03:12:11Z","updated_at":"2015-09-10T13:59:46Z","pushed_at":"2015-06-03T22:02:53Z","git_url":"git://github.com/cedaro/woocommerce-coupon-links.git","ssh_url":"git@github.com:cedaro/woocommerce-coupon-links.git","clone_url":"https://github.com/cedaro/woocommerce-coupon-links.git","svn_url":"https://github.com/cedaro/woocommerce-coupon-links","homepage":"","size":169,"stargazers_count":23,"watchers_count":23,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":23,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/9"},"html":{"href":"https://github.com/cedaro/woocommerce-coupon-links/pull/9"},"issue":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues/9"},"comments":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/cedaro/woocommerce-coupon-links/statuses/09a3828595a520f5b1d3cb7ee660a5cd339fecbb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}