{"action":"created","comment":{"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments/69000362","id":69000362,"diff_hunk":"@@ -358,21 +371,14 @@ function get_registered_settings() {\n \t\t$user_info = get_userdata( get_current_user_id() );\n \t\t$username  = $user_info ? esc_html( $user_info->user_login ) : '';\n \n-\t\t// Handle debug_mode description.\n-\t\tif ( defined( 'AFFILIATE_WP_DEBUG' ) && true === AFFILIATE_WP_DEBUG ) {\n-\t\t\t$this->options['debug_mode'] = 1;\n-\n-\t\t\t// Globally enabled.\n-\t\t\tadd_filter( 'affwp_settings_misc', function( $misc_settings ) {\n-\t\t\t\t$misc_settings['debug_mode']['disabled'] = true;\n-\n-\t\t\t\treturn $misc_settings;\n-\t\t\t} );\n-\n-\t\t\t$debug_mode_desc = __( 'Debug mode is globally enabled via <code>AFFILIATE_WP_DEBUG</code> set in <code>wp-config.php</code>. This setting cannot be modified from this screen.', 'affiliate-wp' );\n-\t\t} else {\n-\t\t\t$debug_mode_desc = __( 'Check this box to enable debug mode. This will turn on error logging for the referral process to help identify problems.', 'affiliate-wp' );\n-\t\t}\n+\t\t/**\n+\t\t * Fires before attempting to retrieve registered settings.\n+\t\t *\n+\t\t * @since 1.9\n+\t\t *\n+\t\t * @param Affiliate_WP_Settings $this Settings instance.\n+\t\t */\n+\t\tdo_action( 'pre_get_registered_settings', $this );","path":"includes/admin/settings/class-settings.php","position":58,"original_position":58,"commit_id":"75b6d98d6b1d8ab5a94eed1b722b1093f301a6f2","original_commit_id":"ae2e96a35075910e931f652a819623776fbb8305","user":{"login":"DrewAPicture","id":995399,"avatar_url":"https://avatars.githubusercontent.com/u/995399?v=3","gravatar_id":"","url":"https://api.github.com/users/DrewAPicture","html_url":"https://github.com/DrewAPicture","followers_url":"https://api.github.com/users/DrewAPicture/followers","following_url":"https://api.github.com/users/DrewAPicture/following{/other_user}","gists_url":"https://api.github.com/users/DrewAPicture/gists{/gist_id}","starred_url":"https://api.github.com/users/DrewAPicture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrewAPicture/subscriptions","organizations_url":"https://api.github.com/users/DrewAPicture/orgs","repos_url":"https://api.github.com/users/DrewAPicture/repos","events_url":"https://api.github.com/users/DrewAPicture/events{/privacy}","received_events_url":"https://api.github.com/users/DrewAPicture/received_events","type":"User","site_admin":false},"body":"okie dokie!","created_at":"2016-06-29T18:21:08Z","updated_at":"2016-06-29T18:21:09Z","html_url":"https://github.com/AffiliateWP/AffiliateWP/pull/1268#discussion_r69000362","pull_request_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268","_links":{"self":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments/69000362"},"html":{"href":"https://github.com/AffiliateWP/AffiliateWP/pull/1268#discussion_r69000362"},"pull_request":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268"}}},"pull_request":{"url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268","id":69107361,"html_url":"https://github.com/AffiliateWP/AffiliateWP/pull/1268","diff_url":"https://github.com/AffiliateWP/AffiliateWP/pull/1268.diff","patch_url":"https://github.com/AffiliateWP/AffiliateWP/pull/1268.patch","issue_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1268","number":1268,"state":"open","locked":false,"title":"issue/1229 – Make license key configurable via wp-config.php","user":{"login":"DrewAPicture","id":995399,"avatar_url":"https://avatars.githubusercontent.com/u/995399?v=3","gravatar_id":"","url":"https://api.github.com/users/DrewAPicture","html_url":"https://github.com/DrewAPicture","followers_url":"https://api.github.com/users/DrewAPicture/followers","following_url":"https://api.github.com/users/DrewAPicture/following{/other_user}","gists_url":"https://api.github.com/users/DrewAPicture/gists{/gist_id}","starred_url":"https://api.github.com/users/DrewAPicture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrewAPicture/subscriptions","organizations_url":"https://api.github.com/users/DrewAPicture/orgs","repos_url":"https://api.github.com/users/DrewAPicture/repos","events_url":"https://api.github.com/users/DrewAPicture/events{/privacy}","received_events_url":"https://api.github.com/users/DrewAPicture/received_events","type":"User","site_admin":false},"body":"Issue: #1229 \r\n\r\nIntroduce a new constant, `AFFILIATEWP_LICENSE_KEY`, which can be defined in wp-config.php to override the license for all sites in a network or simply override the license key in a single site.\r\n\r\nThe new constant is checked in one place, a new static method in `Affiliate_WP_Settings`, `get_license_key()`.","created_at":"2016-05-06T05:40:11Z","updated_at":"2016-06-29T18:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"755148c93958a9c21852a0e59041babce3649ec0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268/commits","review_comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268/comments","review_comment_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1268/comments","statuses_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/75b6d98d6b1d8ab5a94eed1b722b1093f301a6f2","head":{"label":"AffiliateWP:issue/1229","ref":"issue/1229","sha":"75b6d98d6b1d8ab5a94eed1b722b1093f301a6f2","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 Marketing 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}","deployments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/deployments","created_at":"2013-12-31T05:09:28Z","updated_at":"2016-06-29T11:43:10Z","pushed_at":"2016-06-29T18:20:48Z","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":"https://affiliatewp.com","size":8341,"stargazers_count":198,"watchers_count":198,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":227,"forks":92,"open_issues":227,"watchers":198,"default_branch":"master"}},"base":{"label":"AffiliateWP:release/1.9","ref":"release/1.9","sha":"5816c7d185560f38df81f83a8f283c6e9cc6cf20","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 Marketing 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}","deployments_url":"https://api.github.com/repos/AffiliateWP/AffiliateWP/deployments","created_at":"2013-12-31T05:09:28Z","updated_at":"2016-06-29T11:43:10Z","pushed_at":"2016-06-29T18:20:48Z","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":"https://affiliatewp.com","size":8341,"stargazers_count":198,"watchers_count":198,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":227,"forks":92,"open_issues":227,"watchers":198,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268"},"html":{"href":"https://github.com/AffiliateWP/AffiliateWP/pull/1268"},"issue":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1268"},"comments":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/issues/1268/comments"},"review_comments":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268/comments"},"review_comment":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/pulls/1268/commits"},"statuses":{"href":"https://api.github.com/repos/AffiliateWP/AffiliateWP/statuses/75b6d98d6b1d8ab5a94eed1b722b1093f301a6f2"}}}}
{"actor":{"display_login":"DrewAPicture"}}