{"action":"created","comment":{"url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/comments/46259200","id":46259200,"diff_hunk":"@@ -93,9 +92,9 @@ protected static function traversePlugins() {\n     if ( ! function_exists( 'get_plugins' ) ) {\n       require_once ABSPATH . 'wp-admin/includes/plugin.php';\n     }\n-    $all_plugins = get_option('active_plugins');\n+    $all_plugins = get_plugins();\n     // The keys in $all_plugins is the file path for plugin.\n-    foreach($all_plugins as $file){\n+    foreach($all_plugins as $file => $obj){","path":"custom-fields/WidgetLoader.php","position":28,"original_position":28,"commit_id":"76e78edf903d2450ce2381ce190737f33b4b2f84","original_commit_id":"76e78edf903d2450ce2381ce190737f33b4b2f84","user":{"login":"jonsherrard","id":631670,"avatar_url":"https://avatars.githubusercontent.com/u/631670?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsherrard","html_url":"https://github.com/jonsherrard","followers_url":"https://api.github.com/users/jonsherrard/followers","following_url":"https://api.github.com/users/jonsherrard/following{/other_user}","gists_url":"https://api.github.com/users/jonsherrard/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsherrard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsherrard/subscriptions","organizations_url":"https://api.github.com/users/jonsherrard/orgs","repos_url":"https://api.github.com/users/jonsherrard/repos","events_url":"https://api.github.com/users/jonsherrard/events{/privacy}","received_events_url":"https://api.github.com/users/jonsherrard/received_events","type":"User","site_admin":false},"body":"Did we need to make `$obj` available? It's not used anywhere else in the file.","created_at":"2015-12-01T10:00:43Z","updated_at":"2015-12-01T10:00:43Z","html_url":"https://github.com/shortlist-digital/agreable-base-theme/pull/16#discussion_r46259200","pull_request_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/comments/46259200"},"html":{"href":"https://github.com/shortlist-digital/agreable-base-theme/pull/16#discussion_r46259200"},"pull_request":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16","id":52015381,"html_url":"https://github.com/shortlist-digital/agreable-base-theme/pull/16","diff_url":"https://github.com/shortlist-digital/agreable-base-theme/pull/16.diff","patch_url":"https://github.com/shortlist-digital/agreable-base-theme/pull/16.patch","issue_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/16","number":16,"state":"open","locked":false,"title":"Widget exists","user":{"login":"iamdeaneyelid","id":1761265,"avatar_url":"https://avatars.githubusercontent.com/u/1761265?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdeaneyelid","html_url":"https://github.com/iamdeaneyelid","followers_url":"https://api.github.com/users/iamdeaneyelid/followers","following_url":"https://api.github.com/users/iamdeaneyelid/following{/other_user}","gists_url":"https://api.github.com/users/iamdeaneyelid/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdeaneyelid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdeaneyelid/subscriptions","organizations_url":"https://api.github.com/users/iamdeaneyelid/orgs","repos_url":"https://api.github.com/users/iamdeaneyelid/repos","events_url":"https://api.github.com/users/iamdeaneyelid/events{/privacy}","received_events_url":"https://api.github.com/users/iamdeaneyelid/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-27T17:36:06Z","updated_at":"2015-12-01T10:00:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5921906501b05171293e6fbed9948a2efea0377","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16/commits","review_comments_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16/comments","review_comment_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/16/comments","statuses_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/statuses/76e78edf903d2450ce2381ce190737f33b4b2f84","head":{"label":"shortlist-digital:widget-exists","ref":"widget-exists","sha":"76e78edf903d2450ce2381ce190737f33b4b2f84","user":{"login":"shortlist-digital","id":14890560,"avatar_url":"https://avatars.githubusercontent.com/u/14890560?v=3","gravatar_id":"","url":"https://api.github.com/users/shortlist-digital","html_url":"https://github.com/shortlist-digital","followers_url":"https://api.github.com/users/shortlist-digital/followers","following_url":"https://api.github.com/users/shortlist-digital/following{/other_user}","gists_url":"https://api.github.com/users/shortlist-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/shortlist-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shortlist-digital/subscriptions","organizations_url":"https://api.github.com/users/shortlist-digital/orgs","repos_url":"https://api.github.com/users/shortlist-digital/repos","events_url":"https://api.github.com/users/shortlist-digital/events{/privacy}","received_events_url":"https://api.github.com/users/shortlist-digital/received_events","type":"Organization","site_admin":false},"repo":{"id":43439016,"name":"agreable-base-theme","full_name":"shortlist-digital/agreable-base-theme","owner":{"login":"shortlist-digital","id":14890560,"avatar_url":"https://avatars.githubusercontent.com/u/14890560?v=3","gravatar_id":"","url":"https://api.github.com/users/shortlist-digital","html_url":"https://github.com/shortlist-digital","followers_url":"https://api.github.com/users/shortlist-digital/followers","following_url":"https://api.github.com/users/shortlist-digital/following{/other_user}","gists_url":"https://api.github.com/users/shortlist-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/shortlist-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shortlist-digital/subscriptions","organizations_url":"https://api.github.com/users/shortlist-digital/orgs","repos_url":"https://api.github.com/users/shortlist-digital/repos","events_url":"https://api.github.com/users/shortlist-digital/events{/privacy}","received_events_url":"https://api.github.com/users/shortlist-digital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shortlist-digital/agreable-base-theme","description":"Base theme for Croissant powered WordPress sites. Mostly admin config.","fork":false,"url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme","forks_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/forks","keys_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/teams","hooks_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/hooks","issue_events_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/events{/number}","events_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/events","assignees_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/assignees{/user}","branches_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/branches{/branch}","tags_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/tags","blobs_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/languages","stargazers_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/stargazers","contributors_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/contributors","subscribers_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/subscribers","subscription_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/subscription","commits_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/contents/{+path}","compare_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/merges","archive_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/downloads","issues_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues{/number}","pulls_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/labels{/name}","releases_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/releases{/id}","created_at":"2015-09-30T14:51:02Z","updated_at":"2015-11-09T11:37:43Z","pushed_at":"2015-11-27T18:20:30Z","git_url":"git://github.com/shortlist-digital/agreable-base-theme.git","ssh_url":"git@github.com:shortlist-digital/agreable-base-theme.git","clone_url":"https://github.com/shortlist-digital/agreable-base-theme.git","svn_url":"https://github.com/shortlist-digital/agreable-base-theme","homepage":null,"size":130,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"shortlist-digital:develop","ref":"develop","sha":"5abbb58101b922bc2c03d23dd6be140b654bda1a","user":{"login":"shortlist-digital","id":14890560,"avatar_url":"https://avatars.githubusercontent.com/u/14890560?v=3","gravatar_id":"","url":"https://api.github.com/users/shortlist-digital","html_url":"https://github.com/shortlist-digital","followers_url":"https://api.github.com/users/shortlist-digital/followers","following_url":"https://api.github.com/users/shortlist-digital/following{/other_user}","gists_url":"https://api.github.com/users/shortlist-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/shortlist-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shortlist-digital/subscriptions","organizations_url":"https://api.github.com/users/shortlist-digital/orgs","repos_url":"https://api.github.com/users/shortlist-digital/repos","events_url":"https://api.github.com/users/shortlist-digital/events{/privacy}","received_events_url":"https://api.github.com/users/shortlist-digital/received_events","type":"Organization","site_admin":false},"repo":{"id":43439016,"name":"agreable-base-theme","full_name":"shortlist-digital/agreable-base-theme","owner":{"login":"shortlist-digital","id":14890560,"avatar_url":"https://avatars.githubusercontent.com/u/14890560?v=3","gravatar_id":"","url":"https://api.github.com/users/shortlist-digital","html_url":"https://github.com/shortlist-digital","followers_url":"https://api.github.com/users/shortlist-digital/followers","following_url":"https://api.github.com/users/shortlist-digital/following{/other_user}","gists_url":"https://api.github.com/users/shortlist-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/shortlist-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shortlist-digital/subscriptions","organizations_url":"https://api.github.com/users/shortlist-digital/orgs","repos_url":"https://api.github.com/users/shortlist-digital/repos","events_url":"https://api.github.com/users/shortlist-digital/events{/privacy}","received_events_url":"https://api.github.com/users/shortlist-digital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shortlist-digital/agreable-base-theme","description":"Base theme for Croissant powered WordPress sites. Mostly admin config.","fork":false,"url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme","forks_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/forks","keys_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/teams","hooks_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/hooks","issue_events_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/events{/number}","events_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/events","assignees_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/assignees{/user}","branches_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/branches{/branch}","tags_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/tags","blobs_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/languages","stargazers_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/stargazers","contributors_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/contributors","subscribers_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/subscribers","subscription_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/subscription","commits_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/contents/{+path}","compare_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/merges","archive_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/downloads","issues_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues{/number}","pulls_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/labels{/name}","releases_url":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/releases{/id}","created_at":"2015-09-30T14:51:02Z","updated_at":"2015-11-09T11:37:43Z","pushed_at":"2015-11-27T18:20:30Z","git_url":"git://github.com/shortlist-digital/agreable-base-theme.git","ssh_url":"git@github.com:shortlist-digital/agreable-base-theme.git","clone_url":"https://github.com/shortlist-digital/agreable-base-theme.git","svn_url":"https://github.com/shortlist-digital/agreable-base-theme","homepage":null,"size":130,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16"},"html":{"href":"https://github.com/shortlist-digital/agreable-base-theme/pull/16"},"issue":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/16"},"comments":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/shortlist-digital/agreable-base-theme/statuses/76e78edf903d2450ce2381ce190737f33b4b2f84"}}}}