{"action":"created","issue":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/748","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/748/comments","events_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/748/events","html_url":"https://github.com/affiliatewp/AffiliateWP/pull/748","id":91954494,"number":748,"title":"Allow the affiliate status to be set when creating affiliate accounts…","user":{"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-30T01:49:22Z","updated_at":"2015-08-19T00:38:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/pulls/748","html_url":"https://github.com/affiliatewp/AffiliateWP/pull/748","diff_url":"https://github.com/affiliatewp/AffiliateWP/pull/748.diff","patch_url":"https://github.com/affiliatewp/AffiliateWP/pull/748.patch"},"body":"…. #603"},"comment":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/comments/132403824","html_url":"https://github.com/affiliatewp/AffiliateWP/pull/748#issuecomment-132403824","issue_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/748","id":132403824,"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},"created_at":"2015-08-19T00:38:10Z","updated_at":"2015-08-19T00:38:10Z","body":"@pippinsplugins \"pending\" works, but only when `Require approval` is enabled. Are there unpushed changes to issue/603 perhaps? Currently it looks like there have been no changes, `affwp_set_affiliate_status` is still setting the affiliate status to either pending or active inside `affwp_add_affiliate()`."}}