{"action":"created","comment":{"url":"https://api.github.com/repos/backdrop/backdrop/pulls/comments/215821876","pull_request_review_id":153175456,"id":215821876,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTgyMTg3Ng==","diff_hunk":"@@ -717,7 +717,18 @@ function node_preview_banner_form_node_submit(array $form, array &$form_state) {\n     }\n   }\n   else {\n-    $destination = node_access('view', $node) ? 'node/' . $node->nid : '<front>';\n+    // Determine whether to redirect user to full page display.\n+    $destination = '<front>';\n+    if (node_access('view', $node)) {","path":"core/modules/node/node.pages.inc","position":50,"original_position":50,"commit_id":"1fc6b159ec435792c683fbdd6dbfd2908614ec45","original_commit_id":"d69e8a9b57946aa5fe610218a131a2c4d82b3671","user":{"login":"klonos","id":2423362,"node_id":"MDQ6VXNlcjI0MjMzNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/2423362?v=4","gravatar_id":"","url":"https://api.github.com/users/klonos","html_url":"https://github.com/klonos","followers_url":"https://api.github.com/users/klonos/followers","following_url":"https://api.github.com/users/klonos/following{/other_user}","gists_url":"https://api.github.com/users/klonos/gists{/gist_id}","starred_url":"https://api.github.com/users/klonos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klonos/subscriptions","organizations_url":"https://api.github.com/users/klonos/orgs","repos_url":"https://api.github.com/users/klonos/repos","events_url":"https://api.github.com/users/klonos/events{/privacy}","received_events_url":"https://api.github.com/users/klonos/received_events","type":"User","site_admin":false},"body":"Fair enough I guess.","created_at":"2018-09-07T01:19:05Z","updated_at":"2018-09-07T01:19:05Z","html_url":"https://github.com/backdrop/backdrop/pull/2295#discussion_r215821876","pull_request_url":"https://api.github.com/repos/backdrop/backdrop/pulls/2295","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/backdrop/backdrop/pulls/comments/215821876"},"html":{"href":"https://github.com/backdrop/backdrop/pull/2295#discussion_r215821876"},"pull_request":{"href":"https://api.github.com/repos/backdrop/backdrop/pulls/2295"}},"in_reply_to_id":215470522},"pull_request":{"url":"https://api.github.com/repos/backdrop/backdrop/pulls/2295","id":213361931,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMzYxOTMx","html_url":"https://github.com/backdrop/backdrop/pull/2295","diff_url":"https://github.com/backdrop/backdrop/pull/2295.diff","patch_url":"https://github.com/backdrop/backdrop/pull/2295.patch","issue_url":"https://api.github.com/repos/backdrop/backdrop/issues/2295","number":2295,"state":"open","locked":false,"title":"Update redirect on node preview submit","user":{"login":"herbdool","id":1071483,"node_id":"MDQ6VXNlcjEwNzE0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1071483?v=4","gravatar_id":"","url":"https://api.github.com/users/herbdool","html_url":"https://github.com/herbdool","followers_url":"https://api.github.com/users/herbdool/followers","following_url":"https://api.github.com/users/herbdool/following{/other_user}","gists_url":"https://api.github.com/users/herbdool/gists{/gist_id}","starred_url":"https://api.github.com/users/herbdool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbdool/subscriptions","organizations_url":"https://api.github.com/users/herbdool/orgs","repos_url":"https://api.github.com/users/herbdool/repos","events_url":"https://api.github.com/users/herbdool/events{/privacy}","received_events_url":"https://api.github.com/users/herbdool/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/backdrop/backdrop-issues/issues/3275\r\n\r\ncc @quicksketch @docwilmot \r\n\r\nIt also removed some trailing whitespace.","created_at":"2018-09-05T16:52:07Z","updated_at":"2018-09-07T01:19:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6c44faad97d41692e98df0f144bc96a5a2035fb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/backdrop/backdrop/pulls/2295/commits","review_comments_url":"https://api.github.com/repos/backdrop/backdrop/pulls/2295/comments","review_comment_url":"https://api.github.com/repos/backdrop/backdrop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/backdrop/backdrop/issues/2295/comments","statuses_url":"https://api.github.com/repos/backdrop/backdrop/statuses/1fc6b159ec435792c683fbdd6dbfd2908614ec45","head":{"label":"herbdool:issue-3275","ref":"issue-3275","sha":"1fc6b159ec435792c683fbdd6dbfd2908614ec45","user":{"login":"herbdool","id":1071483,"node_id":"MDQ6VXNlcjEwNzE0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1071483?v=4","gravatar_id":"","url":"https://api.github.com/users/herbdool","html_url":"https://github.com/herbdool","followers_url":"https://api.github.com/users/herbdool/followers","following_url":"https://api.github.com/users/herbdool/following{/other_user}","gists_url":"https://api.github.com/users/herbdool/gists{/gist_id}","starred_url":"https://api.github.com/users/herbdool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbdool/subscriptions","organizations_url":"https://api.github.com/users/herbdool/orgs","repos_url":"https://api.github.com/users/herbdool/repos","events_url":"https://api.github.com/users/herbdool/events{/privacy}","received_events_url":"https://api.github.com/users/herbdool/received_events","type":"User","site_admin":false},"repo":{"id":89368875,"node_id":"MDEwOlJlcG9zaXRvcnk4OTM2ODg3NQ==","name":"backdrop","full_name":"herbdool/backdrop","owner":{"login":"herbdool","id":1071483,"node_id":"MDQ6VXNlcjEwNzE0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1071483?v=4","gravatar_id":"","url":"https://api.github.com/users/herbdool","html_url":"https://github.com/herbdool","followers_url":"https://api.github.com/users/herbdool/followers","following_url":"https://api.github.com/users/herbdool/following{/other_user}","gists_url":"https://api.github.com/users/herbdool/gists{/gist_id}","starred_url":"https://api.github.com/users/herbdool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbdool/subscriptions","organizations_url":"https://api.github.com/users/herbdool/orgs","repos_url":"https://api.github.com/users/herbdool/repos","events_url":"https://api.github.com/users/herbdool/events{/privacy}","received_events_url":"https://api.github.com/users/herbdool/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/herbdool/backdrop","description":"Backdrop core code repository.","fork":true,"url":"https://api.github.com/repos/herbdool/backdrop","forks_url":"https://api.github.com/repos/herbdool/backdrop/forks","keys_url":"https://api.github.com/repos/herbdool/backdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/herbdool/backdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/herbdool/backdrop/teams","hooks_url":"https://api.github.com/repos/herbdool/backdrop/hooks","issue_events_url":"https://api.github.com/repos/herbdool/backdrop/issues/events{/number}","events_url":"https://api.github.com/repos/herbdool/backdrop/events","assignees_url":"https://api.github.com/repos/herbdool/backdrop/assignees{/user}","branches_url":"https://api.github.com/repos/herbdool/backdrop/branches{/branch}","tags_url":"https://api.github.com/repos/herbdool/backdrop/tags","blobs_url":"https://api.github.com/repos/herbdool/backdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/herbdool/backdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/herbdool/backdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/herbdool/backdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/herbdool/backdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/herbdool/backdrop/languages","stargazers_url":"https://api.github.com/repos/herbdool/backdrop/stargazers","contributors_url":"https://api.github.com/repos/herbdool/backdrop/contributors","subscribers_url":"https://api.github.com/repos/herbdool/backdrop/subscribers","subscription_url":"https://api.github.com/repos/herbdool/backdrop/subscription","commits_url":"https://api.github.com/repos/herbdool/backdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/herbdool/backdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/herbdool/backdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/herbdool/backdrop/issues/comments{/number}","contents_url":"https://api.github.com/repos/herbdool/backdrop/contents/{+path}","compare_url":"https://api.github.com/repos/herbdool/backdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/herbdool/backdrop/merges","archive_url":"https://api.github.com/repos/herbdool/backdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/herbdool/backdrop/downloads","issues_url":"https://api.github.com/repos/herbdool/backdrop/issues{/number}","pulls_url":"https://api.github.com/repos/herbdool/backdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/herbdool/backdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/herbdool/backdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/herbdool/backdrop/labels{/name}","releases_url":"https://api.github.com/repos/herbdool/backdrop/releases{/id}","deployments_url":"https://api.github.com/repos/herbdool/backdrop/deployments","created_at":"2017-04-25T14:17:36Z","updated_at":"2018-08-27T02:34:01Z","pushed_at":"2018-09-06T03:19:13Z","git_url":"git://github.com/herbdool/backdrop.git","ssh_url":"git@github.com:herbdool/backdrop.git","clone_url":"https://github.com/herbdool/backdrop.git","svn_url":"https://github.com/herbdool/backdrop","homepage":"https://backdropcms.org","size":57615,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.x"}},"base":{"label":"backdrop:1.x","ref":"1.x","sha":"f4250b95af8628edbbba8c6564101b4d410b2cba","user":{"login":"backdrop","id":5283039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyODMwMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/5283039?v=4","gravatar_id":"","url":"https://api.github.com/users/backdrop","html_url":"https://github.com/backdrop","followers_url":"https://api.github.com/users/backdrop/followers","following_url":"https://api.github.com/users/backdrop/following{/other_user}","gists_url":"https://api.github.com/users/backdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/backdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backdrop/subscriptions","organizations_url":"https://api.github.com/users/backdrop/orgs","repos_url":"https://api.github.com/users/backdrop/repos","events_url":"https://api.github.com/users/backdrop/events{/privacy}","received_events_url":"https://api.github.com/users/backdrop/received_events","type":"Organization","site_admin":false},"repo":{"id":12285928,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI4NTkyOA==","name":"backdrop","full_name":"backdrop/backdrop","owner":{"login":"backdrop","id":5283039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyODMwMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/5283039?v=4","gravatar_id":"","url":"https://api.github.com/users/backdrop","html_url":"https://github.com/backdrop","followers_url":"https://api.github.com/users/backdrop/followers","following_url":"https://api.github.com/users/backdrop/following{/other_user}","gists_url":"https://api.github.com/users/backdrop/gists{/gist_id}","starred_url":"https://api.github.com/users/backdrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backdrop/subscriptions","organizations_url":"https://api.github.com/users/backdrop/orgs","repos_url":"https://api.github.com/users/backdrop/repos","events_url":"https://api.github.com/users/backdrop/events{/privacy}","received_events_url":"https://api.github.com/users/backdrop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/backdrop/backdrop","description":"Backdrop core code repository.","fork":false,"url":"https://api.github.com/repos/backdrop/backdrop","forks_url":"https://api.github.com/repos/backdrop/backdrop/forks","keys_url":"https://api.github.com/repos/backdrop/backdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/backdrop/backdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/backdrop/backdrop/teams","hooks_url":"https://api.github.com/repos/backdrop/backdrop/hooks","issue_events_url":"https://api.github.com/repos/backdrop/backdrop/issues/events{/number}","events_url":"https://api.github.com/repos/backdrop/backdrop/events","assignees_url":"https://api.github.com/repos/backdrop/backdrop/assignees{/user}","branches_url":"https://api.github.com/repos/backdrop/backdrop/branches{/branch}","tags_url":"https://api.github.com/repos/backdrop/backdrop/tags","blobs_url":"https://api.github.com/repos/backdrop/backdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/backdrop/backdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/backdrop/backdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/backdrop/backdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/backdrop/backdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/backdrop/backdrop/languages","stargazers_url":"https://api.github.com/repos/backdrop/backdrop/stargazers","contributors_url":"https://api.github.com/repos/backdrop/backdrop/contributors","subscribers_url":"https://api.github.com/repos/backdrop/backdrop/subscribers","subscription_url":"https://api.github.com/repos/backdrop/backdrop/subscription","commits_url":"https://api.github.com/repos/backdrop/backdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/backdrop/backdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/backdrop/backdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/backdrop/backdrop/issues/comments{/number}","contents_url":"https://api.github.com/repos/backdrop/backdrop/contents/{+path}","compare_url":"https://api.github.com/repos/backdrop/backdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/backdrop/backdrop/merges","archive_url":"https://api.github.com/repos/backdrop/backdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/backdrop/backdrop/downloads","issues_url":"https://api.github.com/repos/backdrop/backdrop/issues{/number}","pulls_url":"https://api.github.com/repos/backdrop/backdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/backdrop/backdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/backdrop/backdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/backdrop/backdrop/labels{/name}","releases_url":"https://api.github.com/repos/backdrop/backdrop/releases{/id}","deployments_url":"https://api.github.com/repos/backdrop/backdrop/deployments","created_at":"2013-08-22T01:50:58Z","updated_at":"2018-09-05T10:28:23Z","pushed_at":"2018-09-06T21:20:12Z","git_url":"git://github.com/backdrop/backdrop.git","ssh_url":"git@github.com:backdrop/backdrop.git","clone_url":"https://github.com/backdrop/backdrop.git","svn_url":"https://github.com/backdrop/backdrop","homepage":"https://backdropcms.org","size":57799,"stargazers_count":682,"watchers_count":682,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":233,"mirror_url":null,"archived":false,"open_issues_count":205,"license":null,"forks":233,"open_issues":205,"watchers":682,"default_branch":"1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/backdrop/backdrop/pulls/2295"},"html":{"href":"https://github.com/backdrop/backdrop/pull/2295"},"issue":{"href":"https://api.github.com/repos/backdrop/backdrop/issues/2295"},"comments":{"href":"https://api.github.com/repos/backdrop/backdrop/issues/2295/comments"},"review_comments":{"href":"https://api.github.com/repos/backdrop/backdrop/pulls/2295/comments"},"review_comment":{"href":"https://api.github.com/repos/backdrop/backdrop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/backdrop/backdrop/pulls/2295/commits"},"statuses":{"href":"https://api.github.com/repos/backdrop/backdrop/statuses/1fc6b159ec435792c683fbdd6dbfd2908614ec45"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"klonos"}}