{"action":"opened","issue":{"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1229","repository_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP","labels_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1229/labels{/name}","comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1229/comments","events_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1229/events","html_url":"https://github.com/AffiliateWP/AffiliateWP/issues/1229","id":150668754,"number":1229,"title":"License Key: Make configurable via wp-config.php","user":{"login":"JanThiel","id":3857275,"avatar_url":"https://avatars.githubusercontent.com/u/3857275?v=3","gravatar_id":"","url":"https://api.github.com/users/JanThiel","html_url":"https://github.com/JanThiel","followers_url":"https://api.github.com/users/JanThiel/followers","following_url":"https://api.github.com/users/JanThiel/following{/other_user}","gists_url":"https://api.github.com/users/JanThiel/gists{/gist_id}","starred_url":"https://api.github.com/users/JanThiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanThiel/subscriptions","organizations_url":"https://api.github.com/users/JanThiel/orgs","repos_url":"https://api.github.com/users/JanThiel/repos","events_url":"https://api.github.com/users/JanThiel/events{/privacy}","received_events_url":"https://api.github.com/users/JanThiel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-24T14:51:07Z","updated_at":"2016-04-24T14:51:07Z","closed_at":null,"body":"Hi,\r\n\r\nwhen running AffiliateWP in a Multisite, you need to set the License Key on each site manually. If you want the updates to work, it also has to be activated on the Networks main page. Although if you don't wanna use it there. Further more when using automatic deployments, each UI input for license keys is breaking scalability.\r\n\r\nSimple Solution: Offer an alternative way to set the license key in wp-config.php instead of UI + this->options.\r\nSo check for is_defined(\"wpaff_license\") before checking the this->settings->license_key and continue stuff with that value instead.\r\n\r\nIn the Admin Backend the key should not be visible or editable. Just to make clear it is set at another place and not there. As it cannot and should not be edited in the WP-Admin backend.\r\n\r\nThanks, Best Regards,\r\n\r\nJan\r\n\r\n"}}