{"action":"created","comment":{"url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/comments/192250065","pull_request_review_id":124991321,"id":192250065,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjI1MDA2NQ==","diff_hunk":"@@ -569,6 +582,7 @@ public function wp_loaded()\n      */\n     public function admin_init()\n     {\n+        $loader = LoaderFactory::getLoader();","path":"core/admin/EE_Admin.core.php","position":67,"original_position":67,"commit_id":"f895f3d28a2353802030092229bed9c65b8447ea","original_commit_id":"f895f3d28a2353802030092229bed9c65b8447ea","user":{"login":"mnelson4","id":1766382,"node_id":"MDQ6VXNlcjE3NjYzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1766382?v=4","gravatar_id":"","url":"https://api.github.com/users/mnelson4","html_url":"https://github.com/mnelson4","followers_url":"https://api.github.com/users/mnelson4/followers","following_url":"https://api.github.com/users/mnelson4/following{/other_user}","gists_url":"https://api.github.com/users/mnelson4/gists{/gist_id}","starred_url":"https://api.github.com/users/mnelson4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnelson4/subscriptions","organizations_url":"https://api.github.com/users/mnelson4/orgs","repos_url":"https://api.github.com/users/mnelson4/repos","events_url":"https://api.github.com/users/mnelson4/events{/privacy}","received_events_url":"https://api.github.com/users/mnelson4/received_events","type":"User","site_admin":false},"body":"ya good idea","created_at":"2018-05-31T21:58:39Z","updated_at":"2018-05-31T21:58:39Z","html_url":"https://github.com/eventespresso/event-espresso-core/pull/490#discussion_r192250065","pull_request_url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/comments/192250065"},"html":{"href":"https://github.com/eventespresso/event-espresso-core/pull/490#discussion_r192250065"},"pull_request":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490"}},"in_reply_to_id":192226310},"pull_request":{"url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490","id":191534617,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNTM0NjE3","html_url":"https://github.com/eventespresso/event-espresso-core/pull/490","diff_url":"https://github.com/eventespresso/event-espresso-core/pull/490.diff","patch_url":"https://github.com/eventespresso/event-espresso-core/pull/490.patch","issue_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/490","number":490,"state":"open","locked":false,"title":"Bug/privacy policy fatal error in maintenance mode fixes #489","user":{"login":"mnelson4","id":1766382,"node_id":"MDQ6VXNlcjE3NjYzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1766382?v=4","gravatar_id":"","url":"https://api.github.com/users/mnelson4","html_url":"https://github.com/mnelson4","followers_url":"https://api.github.com/users/mnelson4/followers","following_url":"https://api.github.com/users/mnelson4/following{/other_user}","gists_url":"https://api.github.com/users/mnelson4/gists{/gist_id}","starred_url":"https://api.github.com/users/mnelson4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnelson4/subscriptions","organizations_url":"https://api.github.com/users/mnelson4/orgs","repos_url":"https://api.github.com/users/mnelson4/repos","events_url":"https://api.github.com/users/mnelson4/events{/privacy}","received_events_url":"https://api.github.com/users/mnelson4/received_events","type":"User","site_admin":false},"body":"Addresses https://github.com/eventespresso/event-espresso-core/issues/489 by only loading the privacy policy code when the site isn't in full maintenance mode. \r\nAlso introduces `EE_Admin::initModelsReady()` which should be used for admin code that only runs when the site is in NOT in full maintenance mode.","created_at":"2018-05-30T18:02:16Z","updated_at":"2018-05-31T21:58:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f29f4facb4f722bdf3c109a0bbbf3b1a3cdafff4","assignee":{"login":"mnelson4","id":1766382,"node_id":"MDQ6VXNlcjE3NjYzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1766382?v=4","gravatar_id":"","url":"https://api.github.com/users/mnelson4","html_url":"https://github.com/mnelson4","followers_url":"https://api.github.com/users/mnelson4/followers","following_url":"https://api.github.com/users/mnelson4/following{/other_user}","gists_url":"https://api.github.com/users/mnelson4/gists{/gist_id}","starred_url":"https://api.github.com/users/mnelson4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnelson4/subscriptions","organizations_url":"https://api.github.com/users/mnelson4/orgs","repos_url":"https://api.github.com/users/mnelson4/repos","events_url":"https://api.github.com/users/mnelson4/events{/privacy}","received_events_url":"https://api.github.com/users/mnelson4/received_events","type":"User","site_admin":false},"assignees":[{"login":"mnelson4","id":1766382,"node_id":"MDQ6VXNlcjE3NjYzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/1766382?v=4","gravatar_id":"","url":"https://api.github.com/users/mnelson4","html_url":"https://github.com/mnelson4","followers_url":"https://api.github.com/users/mnelson4/followers","following_url":"https://api.github.com/users/mnelson4/following{/other_user}","gists_url":"https://api.github.com/users/mnelson4/gists{/gist_id}","starred_url":"https://api.github.com/users/mnelson4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnelson4/subscriptions","organizations_url":"https://api.github.com/users/mnelson4/orgs","repos_url":"https://api.github.com/users/mnelson4/repos","events_url":"https://api.github.com/users/mnelson4/events{/privacy}","received_events_url":"https://api.github.com/users/mnelson4/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":904083460,"node_id":"MDU6TGFiZWw5MDQwODM0NjA=","url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels/category:admin-pages","name":"category:admin-pages","color":"abc2c1","default":false},{"id":904083603,"node_id":"MDU6TGFiZWw5MDQwODM2MDM=","url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels/category:models-and-data-infrastructure","name":"category:models-and-data-infrastructure","color":"abc2c1","default":false},{"id":906208204,"node_id":"MDU6TGFiZWw5MDYyMDgyMDQ=","url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels/status:review","name":"status:review","color":"f7d500","default":false},{"id":22687537,"node_id":"MDU6TGFiZWwyMjY4NzUzNw==","url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels/type:bug%20%F0%9F%90%9E","name":"type:bug 🐞","color":"efefef","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490/commits","review_comments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490/comments","review_comment_url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/490/comments","statuses_url":"https://api.github.com/repos/eventespresso/event-espresso-core/statuses/f895f3d28a2353802030092229bed9c65b8447ea","head":{"label":"eventespresso:BUG/privacy-policy-fatal-error-in-maintenance-mode","ref":"BUG/privacy-policy-fatal-error-in-maintenance-mode","sha":"f895f3d28a2353802030092229bed9c65b8447ea","user":{"login":"eventespresso","id":3077278,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzcyNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3077278?v=4","gravatar_id":"","url":"https://api.github.com/users/eventespresso","html_url":"https://github.com/eventespresso","followers_url":"https://api.github.com/users/eventespresso/followers","following_url":"https://api.github.com/users/eventespresso/following{/other_user}","gists_url":"https://api.github.com/users/eventespresso/gists{/gist_id}","starred_url":"https://api.github.com/users/eventespresso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventespresso/subscriptions","organizations_url":"https://api.github.com/users/eventespresso/orgs","repos_url":"https://api.github.com/users/eventespresso/repos","events_url":"https://api.github.com/users/eventespresso/events{/privacy}","received_events_url":"https://api.github.com/users/eventespresso/received_events","type":"Organization","site_admin":false},"repo":{"id":7252233,"node_id":"MDEwOlJlcG9zaXRvcnk3MjUyMjMz","name":"event-espresso-core","full_name":"eventespresso/event-espresso-core","owner":{"login":"eventespresso","id":3077278,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzcyNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3077278?v=4","gravatar_id":"","url":"https://api.github.com/users/eventespresso","html_url":"https://github.com/eventespresso","followers_url":"https://api.github.com/users/eventespresso/followers","following_url":"https://api.github.com/users/eventespresso/following{/other_user}","gists_url":"https://api.github.com/users/eventespresso/gists{/gist_id}","starred_url":"https://api.github.com/users/eventespresso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventespresso/subscriptions","organizations_url":"https://api.github.com/users/eventespresso/orgs","repos_url":"https://api.github.com/users/eventespresso/repos","events_url":"https://api.github.com/users/eventespresso/events{/privacy}","received_events_url":"https://api.github.com/users/eventespresso/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eventespresso/event-espresso-core","description":"Event Espresso 4 Core for WordPress: Build an Event Ticketing Website Today!","fork":false,"url":"https://api.github.com/repos/eventespresso/event-espresso-core","forks_url":"https://api.github.com/repos/eventespresso/event-espresso-core/forks","keys_url":"https://api.github.com/repos/eventespresso/event-espresso-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eventespresso/event-espresso-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eventespresso/event-espresso-core/teams","hooks_url":"https://api.github.com/repos/eventespresso/event-espresso-core/hooks","issue_events_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/events{/number}","events_url":"https://api.github.com/repos/eventespresso/event-espresso-core/events","assignees_url":"https://api.github.com/repos/eventespresso/event-espresso-core/assignees{/user}","branches_url":"https://api.github.com/repos/eventespresso/event-espresso-core/branches{/branch}","tags_url":"https://api.github.com/repos/eventespresso/event-espresso-core/tags","blobs_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eventespresso/event-espresso-core/statuses/{sha}","languages_url":"https://api.github.com/repos/eventespresso/event-espresso-core/languages","stargazers_url":"https://api.github.com/repos/eventespresso/event-espresso-core/stargazers","contributors_url":"https://api.github.com/repos/eventespresso/event-espresso-core/contributors","subscribers_url":"https://api.github.com/repos/eventespresso/event-espresso-core/subscribers","subscription_url":"https://api.github.com/repos/eventespresso/event-espresso-core/subscription","commits_url":"https://api.github.com/repos/eventespresso/event-espresso-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/eventespresso/event-espresso-core/contents/{+path}","compare_url":"https://api.github.com/repos/eventespresso/event-espresso-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eventespresso/event-espresso-core/merges","archive_url":"https://api.github.com/repos/eventespresso/event-espresso-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eventespresso/event-espresso-core/downloads","issues_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues{/number}","pulls_url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls{/number}","milestones_url":"https://api.github.com/repos/eventespresso/event-espresso-core/milestones{/number}","notifications_url":"https://api.github.com/repos/eventespresso/event-espresso-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels{/name}","releases_url":"https://api.github.com/repos/eventespresso/event-espresso-core/releases{/id}","deployments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/deployments","created_at":"2012-12-20T04:38:57Z","updated_at":"2018-05-31T21:53:29Z","pushed_at":"2018-05-31T21:53:27Z","git_url":"git://github.com/eventespresso/event-espresso-core.git","ssh_url":"git@github.com:eventespresso/event-espresso-core.git","clone_url":"https://github.com/eventespresso/event-espresso-core.git","svn_url":"https://github.com/eventespresso/event-espresso-core","homepage":"https://eventespresso.com","size":97184,"stargazers_count":83,"watchers_count":83,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":51,"open_issues":79,"watchers":83,"default_branch":"master"}},"base":{"label":"eventespresso:master","ref":"master","sha":"bde1d5aadfde68b6330a4c72c2637579f99b433b","user":{"login":"eventespresso","id":3077278,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzcyNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3077278?v=4","gravatar_id":"","url":"https://api.github.com/users/eventespresso","html_url":"https://github.com/eventespresso","followers_url":"https://api.github.com/users/eventespresso/followers","following_url":"https://api.github.com/users/eventespresso/following{/other_user}","gists_url":"https://api.github.com/users/eventespresso/gists{/gist_id}","starred_url":"https://api.github.com/users/eventespresso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventespresso/subscriptions","organizations_url":"https://api.github.com/users/eventespresso/orgs","repos_url":"https://api.github.com/users/eventespresso/repos","events_url":"https://api.github.com/users/eventespresso/events{/privacy}","received_events_url":"https://api.github.com/users/eventespresso/received_events","type":"Organization","site_admin":false},"repo":{"id":7252233,"node_id":"MDEwOlJlcG9zaXRvcnk3MjUyMjMz","name":"event-espresso-core","full_name":"eventespresso/event-espresso-core","owner":{"login":"eventespresso","id":3077278,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzcyNzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3077278?v=4","gravatar_id":"","url":"https://api.github.com/users/eventespresso","html_url":"https://github.com/eventespresso","followers_url":"https://api.github.com/users/eventespresso/followers","following_url":"https://api.github.com/users/eventespresso/following{/other_user}","gists_url":"https://api.github.com/users/eventespresso/gists{/gist_id}","starred_url":"https://api.github.com/users/eventespresso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eventespresso/subscriptions","organizations_url":"https://api.github.com/users/eventespresso/orgs","repos_url":"https://api.github.com/users/eventespresso/repos","events_url":"https://api.github.com/users/eventespresso/events{/privacy}","received_events_url":"https://api.github.com/users/eventespresso/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eventespresso/event-espresso-core","description":"Event Espresso 4 Core for WordPress: Build an Event Ticketing Website Today!","fork":false,"url":"https://api.github.com/repos/eventespresso/event-espresso-core","forks_url":"https://api.github.com/repos/eventespresso/event-espresso-core/forks","keys_url":"https://api.github.com/repos/eventespresso/event-espresso-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eventespresso/event-espresso-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eventespresso/event-espresso-core/teams","hooks_url":"https://api.github.com/repos/eventespresso/event-espresso-core/hooks","issue_events_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/events{/number}","events_url":"https://api.github.com/repos/eventespresso/event-espresso-core/events","assignees_url":"https://api.github.com/repos/eventespresso/event-espresso-core/assignees{/user}","branches_url":"https://api.github.com/repos/eventespresso/event-espresso-core/branches{/branch}","tags_url":"https://api.github.com/repos/eventespresso/event-espresso-core/tags","blobs_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eventespresso/event-espresso-core/statuses/{sha}","languages_url":"https://api.github.com/repos/eventespresso/event-espresso-core/languages","stargazers_url":"https://api.github.com/repos/eventespresso/event-espresso-core/stargazers","contributors_url":"https://api.github.com/repos/eventespresso/event-espresso-core/contributors","subscribers_url":"https://api.github.com/repos/eventespresso/event-espresso-core/subscribers","subscription_url":"https://api.github.com/repos/eventespresso/event-espresso-core/subscription","commits_url":"https://api.github.com/repos/eventespresso/event-espresso-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/eventespresso/event-espresso-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/eventespresso/event-espresso-core/contents/{+path}","compare_url":"https://api.github.com/repos/eventespresso/event-espresso-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eventespresso/event-espresso-core/merges","archive_url":"https://api.github.com/repos/eventespresso/event-espresso-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eventespresso/event-espresso-core/downloads","issues_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues{/number}","pulls_url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls{/number}","milestones_url":"https://api.github.com/repos/eventespresso/event-espresso-core/milestones{/number}","notifications_url":"https://api.github.com/repos/eventespresso/event-espresso-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels{/name}","releases_url":"https://api.github.com/repos/eventespresso/event-espresso-core/releases{/id}","deployments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/deployments","created_at":"2012-12-20T04:38:57Z","updated_at":"2018-05-31T21:53:29Z","pushed_at":"2018-05-31T21:53:27Z","git_url":"git://github.com/eventespresso/event-espresso-core.git","ssh_url":"git@github.com:eventespresso/event-espresso-core.git","clone_url":"https://github.com/eventespresso/event-espresso-core.git","svn_url":"https://github.com/eventespresso/event-espresso-core","homepage":"https://eventespresso.com","size":97184,"stargazers_count":83,"watchers_count":83,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":51,"open_issues":79,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490"},"html":{"href":"https://github.com/eventespresso/event-espresso-core/pull/490"},"issue":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/490"},"comments":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/490/comments"},"review_comments":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490/comments"},"review_comment":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/490/commits"},"statuses":{"href":"https://api.github.com/repos/eventespresso/event-espresso-core/statuses/f895f3d28a2353802030092229bed9c65b8447ea"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mnelson4"}}