{"action":"created","comment":{"url":"https://api.github.com/repos/auth0/wp-auth0/pulls/comments/172312521","pull_request_review_id":101308351,"id":172312521,"diff_hunk":"@@ -66,19 +66,6 @@ public function auth0_singlelogout_footer( $previous_html ) {\n       return;\n     }\n \n-    $current_user = get_currentauth0user();\n-    $user_profile = $current_user->auth0_obj;\n-\n-    if ( empty( $user_profile ) ) {\n-      return;\n-    }\n-\n-    $lock_options = new WP_Auth0_Lock10_Options();\n-    $cdn = $this->a0_options->get('auth0js-cdn');\n-    $client_id = $this->a0_options->get( 'client_id' );\n-    $domain = $this->a0_options->get( 'domain' );\n-    $logout_url = wp_logout_url( get_permalink() ) . '&SLO=1';\n-\n     include WPA0_PLUGIN_DIR . 'templates/auth0-singlelogout-handler.php';","path":"lib/WP_Auth0_LoginManager.php","position":17,"original_position":17,"commit_id":"32312798b107f0e7def7b9c8526e8bc3b210ee4d","original_commit_id":"32312798b107f0e7def7b9c8526e8bc3b210ee4d","user":{"login":"joshcanhelp","id":855223,"avatar_url":"https://avatars2.githubusercontent.com/u/855223?v=4","gravatar_id":"","url":"https://api.github.com/users/joshcanhelp","html_url":"https://github.com/joshcanhelp","followers_url":"https://api.github.com/users/joshcanhelp/followers","following_url":"https://api.github.com/users/joshcanhelp/following{/other_user}","gists_url":"https://api.github.com/users/joshcanhelp/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcanhelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcanhelp/subscriptions","organizations_url":"https://api.github.com/users/joshcanhelp/orgs","repos_url":"https://api.github.com/users/joshcanhelp/repos","events_url":"https://api.github.com/users/joshcanhelp/events{/privacy}","received_events_url":"https://api.github.com/users/joshcanhelp/received_events","type":"User","site_admin":false},"body":"Removed vars above were moved into `templates/auth0-singlelogout-handler.php` down below","created_at":"2018-03-05T20:06:34Z","updated_at":"2018-03-05T20:06:34Z","html_url":"https://github.com/auth0/wp-auth0/pull/406#discussion_r172312521","pull_request_url":"https://api.github.com/repos/auth0/wp-auth0/pulls/406","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/auth0/wp-auth0/pulls/comments/172312521"},"html":{"href":"https://github.com/auth0/wp-auth0/pull/406#discussion_r172312521"},"pull_request":{"href":"https://api.github.com/repos/auth0/wp-auth0/pulls/406"}}},"pull_request":{"url":"https://api.github.com/repos/auth0/wp-auth0/pulls/406","id":172622251,"html_url":"https://github.com/auth0/wp-auth0/pull/406","diff_url":"https://github.com/auth0/wp-auth0/pull/406.diff","patch_url":"https://github.com/auth0/wp-auth0/pull/406.patch","issue_url":"https://api.github.com/repos/auth0/wp-auth0/issues/406","number":406,"state":"open","locked":false,"title":"[WIP] State handling during login process for both types","user":{"login":"joshcanhelp","id":855223,"avatar_url":"https://avatars2.githubusercontent.com/u/855223?v=4","gravatar_id":"","url":"https://api.github.com/users/joshcanhelp","html_url":"https://github.com/joshcanhelp","followers_url":"https://api.github.com/users/joshcanhelp/followers","following_url":"https://api.github.com/users/joshcanhelp/following{/other_user}","gists_url":"https://api.github.com/users/joshcanhelp/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcanhelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcanhelp/subscriptions","organizations_url":"https://api.github.com/users/joshcanhelp/orgs","repos_url":"https://api.github.com/users/joshcanhelp/repos","events_url":"https://api.github.com/users/joshcanhelp/events{/privacy}","received_events_url":"https://api.github.com/users/joshcanhelp/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-02T22:39:36Z","updated_at":"2018-03-05T20:06:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0dfdf4861ac7183b6b679a6f04f70f82aea6de53","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":136299661,"url":"https://api.github.com/repos/auth0/wp-auth0/labels/WIP","name":"WIP","color":"bfe5bf","default":false}],"milestone":{"url":"https://api.github.com/repos/auth0/wp-auth0/milestones/14","html_url":"https://github.com/auth0/wp-auth0/milestone/14","labels_url":"https://api.github.com/repos/auth0/wp-auth0/milestones/14/labels","id":3108606,"number":14,"title":"v3-Next","description":"","creator":{"login":"joshcanhelp","id":855223,"avatar_url":"https://avatars2.githubusercontent.com/u/855223?v=4","gravatar_id":"","url":"https://api.github.com/users/joshcanhelp","html_url":"https://github.com/joshcanhelp","followers_url":"https://api.github.com/users/joshcanhelp/followers","following_url":"https://api.github.com/users/joshcanhelp/following{/other_user}","gists_url":"https://api.github.com/users/joshcanhelp/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcanhelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcanhelp/subscriptions","organizations_url":"https://api.github.com/users/joshcanhelp/orgs","repos_url":"https://api.github.com/users/joshcanhelp/repos","events_url":"https://api.github.com/users/joshcanhelp/events{/privacy}","received_events_url":"https://api.github.com/users/joshcanhelp/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2018-02-12T17:14:02Z","updated_at":"2018-03-02T22:39:36Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/auth0/wp-auth0/pulls/406/commits","review_comments_url":"https://api.github.com/repos/auth0/wp-auth0/pulls/406/comments","review_comment_url":"https://api.github.com/repos/auth0/wp-auth0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/wp-auth0/issues/406/comments","statuses_url":"https://api.github.com/repos/auth0/wp-auth0/statuses/32312798b107f0e7def7b9c8526e8bc3b210ee4d","head":{"label":"auth0:fixed-handle-state-checking","ref":"fixed-handle-state-checking","sha":"32312798b107f0e7def7b9c8526e8bc3b210ee4d","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":16893279,"name":"wp-auth0","full_name":"auth0/wp-auth0","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/wp-auth0","description":"Wordpress Plugin for Auth0","fork":false,"url":"https://api.github.com/repos/auth0/wp-auth0","forks_url":"https://api.github.com/repos/auth0/wp-auth0/forks","keys_url":"https://api.github.com/repos/auth0/wp-auth0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/wp-auth0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/wp-auth0/teams","hooks_url":"https://api.github.com/repos/auth0/wp-auth0/hooks","issue_events_url":"https://api.github.com/repos/auth0/wp-auth0/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/wp-auth0/events","assignees_url":"https://api.github.com/repos/auth0/wp-auth0/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/wp-auth0/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/wp-auth0/tags","blobs_url":"https://api.github.com/repos/auth0/wp-auth0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/wp-auth0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/wp-auth0/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/wp-auth0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/wp-auth0/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/wp-auth0/languages","stargazers_url":"https://api.github.com/repos/auth0/wp-auth0/stargazers","contributors_url":"https://api.github.com/repos/auth0/wp-auth0/contributors","subscribers_url":"https://api.github.com/repos/auth0/wp-auth0/subscribers","subscription_url":"https://api.github.com/repos/auth0/wp-auth0/subscription","commits_url":"https://api.github.com/repos/auth0/wp-auth0/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/wp-auth0/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/wp-auth0/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/wp-auth0/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/wp-auth0/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/wp-auth0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/wp-auth0/merges","archive_url":"https://api.github.com/repos/auth0/wp-auth0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/wp-auth0/downloads","issues_url":"https://api.github.com/repos/auth0/wp-auth0/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/wp-auth0/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/wp-auth0/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/wp-auth0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/wp-auth0/labels{/name}","releases_url":"https://api.github.com/repos/auth0/wp-auth0/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/wp-auth0/deployments","created_at":"2014-02-16T20:20:08Z","updated_at":"2018-01-29T00:09:05Z","pushed_at":"2018-03-05T19:04:57Z","git_url":"git://github.com/auth0/wp-auth0.git","ssh_url":"git@github.com:auth0/wp-auth0.git","clone_url":"https://github.com/auth0/wp-auth0.git","svn_url":"https://github.com/auth0/wp-auth0","homepage":"https://auth0.com/wordpress","size":6945,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":51,"open_issues":39,"watchers":65,"default_branch":"master"}},"base":{"label":"auth0:dev","ref":"dev","sha":"9713e6a7cdf4c3446632be5338426dfba102bf3a","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":16893279,"name":"wp-auth0","full_name":"auth0/wp-auth0","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars1.githubusercontent.com/u/2824157?v=4","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/wp-auth0","description":"Wordpress Plugin for Auth0","fork":false,"url":"https://api.github.com/repos/auth0/wp-auth0","forks_url":"https://api.github.com/repos/auth0/wp-auth0/forks","keys_url":"https://api.github.com/repos/auth0/wp-auth0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/wp-auth0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/wp-auth0/teams","hooks_url":"https://api.github.com/repos/auth0/wp-auth0/hooks","issue_events_url":"https://api.github.com/repos/auth0/wp-auth0/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/wp-auth0/events","assignees_url":"https://api.github.com/repos/auth0/wp-auth0/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/wp-auth0/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/wp-auth0/tags","blobs_url":"https://api.github.com/repos/auth0/wp-auth0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/wp-auth0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/wp-auth0/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/wp-auth0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/wp-auth0/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/wp-auth0/languages","stargazers_url":"https://api.github.com/repos/auth0/wp-auth0/stargazers","contributors_url":"https://api.github.com/repos/auth0/wp-auth0/contributors","subscribers_url":"https://api.github.com/repos/auth0/wp-auth0/subscribers","subscription_url":"https://api.github.com/repos/auth0/wp-auth0/subscription","commits_url":"https://api.github.com/repos/auth0/wp-auth0/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/wp-auth0/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/wp-auth0/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/wp-auth0/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/wp-auth0/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/wp-auth0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/wp-auth0/merges","archive_url":"https://api.github.com/repos/auth0/wp-auth0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/wp-auth0/downloads","issues_url":"https://api.github.com/repos/auth0/wp-auth0/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/wp-auth0/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/wp-auth0/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/wp-auth0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/wp-auth0/labels{/name}","releases_url":"https://api.github.com/repos/auth0/wp-auth0/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/wp-auth0/deployments","created_at":"2014-02-16T20:20:08Z","updated_at":"2018-01-29T00:09:05Z","pushed_at":"2018-03-05T19:04:57Z","git_url":"git://github.com/auth0/wp-auth0.git","ssh_url":"git@github.com:auth0/wp-auth0.git","clone_url":"https://github.com/auth0/wp-auth0.git","svn_url":"https://github.com/auth0/wp-auth0","homepage":"https://auth0.com/wordpress","size":6945,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":51,"open_issues":39,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/wp-auth0/pulls/406"},"html":{"href":"https://github.com/auth0/wp-auth0/pull/406"},"issue":{"href":"https://api.github.com/repos/auth0/wp-auth0/issues/406"},"comments":{"href":"https://api.github.com/repos/auth0/wp-auth0/issues/406/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/wp-auth0/pulls/406/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/wp-auth0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/wp-auth0/pulls/406/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/wp-auth0/statuses/32312798b107f0e7def7b9c8526e8bc3b210ee4d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"joshcanhelp"}}