{"action":"created","comment":{"url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/comments/46914611","id":46914611,"diff_hunk":"@@ -131,6 +119,25 @@ public function __construct( Plugin $plugin ) {\n \t}\n \n \t/**\n+\t * Set the Customizer return URL.\n+\t */\n+\tpublic function set_return_url() {\n+\t\tglobal $wp_version;\n+\t\tif (\n+\t\t\tversion_compare( $wp_version, '4.4-beta', '>=' )","path":"php/class-customize-snapshot-manager.php","position":35,"original_position":35,"commit_id":"531d724875f96d99861ec62d5307aa23dcd82182","original_commit_id":"531d724875f96d99861ec62d5307aa23dcd82182","user":{"login":"westonruter","id":134745,"avatar_url":"https://avatars.githubusercontent.com/u/134745?v=3","gravatar_id":"","url":"https://api.github.com/users/westonruter","html_url":"https://github.com/westonruter","followers_url":"https://api.github.com/users/westonruter/followers","following_url":"https://api.github.com/users/westonruter/following{/other_user}","gists_url":"https://api.github.com/users/westonruter/gists{/gist_id}","starred_url":"https://api.github.com/users/westonruter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westonruter/subscriptions","organizations_url":"https://api.github.com/users/westonruter/orgs","repos_url":"https://api.github.com/users/westonruter/repos","events_url":"https://api.github.com/users/westonruter/events{/privacy}","received_events_url":"https://api.github.com/users/westonruter/received_events","type":"User","site_admin":false},"body":"Good call :+1: ","created_at":"2015-12-08T04:42:32Z","updated_at":"2015-12-08T04:42:32Z","html_url":"https://github.com/xwp/wp-customize-snapshots/pull/4#discussion_r46914611","pull_request_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/comments/46914611"},"html":{"href":"https://github.com/xwp/wp-customize-snapshots/pull/4#discussion_r46914611"},"pull_request":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4","id":50472546,"html_url":"https://github.com/xwp/wp-customize-snapshots/pull/4","diff_url":"https://github.com/xwp/wp-customize-snapshots/pull/4.diff","patch_url":"https://github.com/xwp/wp-customize-snapshots/pull/4.patch","issue_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/4","number":4,"state":"open","locked":false,"title":"Separate \"Save\" & \"Publish\"","user":{"login":"valendesigns","id":62798,"avatar_url":"https://avatars.githubusercontent.com/u/62798?v=3","gravatar_id":"","url":"https://api.github.com/users/valendesigns","html_url":"https://github.com/valendesigns","followers_url":"https://api.github.com/users/valendesigns/followers","following_url":"https://api.github.com/users/valendesigns/following{/other_user}","gists_url":"https://api.github.com/users/valendesigns/gists{/gist_id}","starred_url":"https://api.github.com/users/valendesigns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valendesigns/subscriptions","organizations_url":"https://api.github.com/users/valendesigns/orgs","repos_url":"https://api.github.com/users/valendesigns/repos","events_url":"https://api.github.com/users/valendesigns/events{/privacy}","received_events_url":"https://api.github.com/users/valendesigns/received_events","type":"User","site_admin":false},"body":"To be determined...","created_at":"2015-11-12T05:09:35Z","updated_at":"2015-12-08T04:42:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38420788ebbe46f24b0c8feeee5ddd8d760415ad","assignee":{"login":"westonruter","id":134745,"avatar_url":"https://avatars.githubusercontent.com/u/134745?v=3","gravatar_id":"","url":"https://api.github.com/users/westonruter","html_url":"https://github.com/westonruter","followers_url":"https://api.github.com/users/westonruter/followers","following_url":"https://api.github.com/users/westonruter/following{/other_user}","gists_url":"https://api.github.com/users/westonruter/gists{/gist_id}","starred_url":"https://api.github.com/users/westonruter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westonruter/subscriptions","organizations_url":"https://api.github.com/users/westonruter/orgs","repos_url":"https://api.github.com/users/westonruter/repos","events_url":"https://api.github.com/users/westonruter/events{/privacy}","received_events_url":"https://api.github.com/users/westonruter/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4/commits","review_comments_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4/comments","review_comment_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/4/comments","statuses_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/statuses/531d724875f96d99861ec62d5307aa23dcd82182","head":{"label":"xwp:feature/customize_publish","ref":"feature/customize_publish","sha":"531d724875f96d99861ec62d5307aa23dcd82182","user":{"login":"xwp","id":9003139,"avatar_url":"https://avatars.githubusercontent.com/u/9003139?v=3","gravatar_id":"","url":"https://api.github.com/users/xwp","html_url":"https://github.com/xwp","followers_url":"https://api.github.com/users/xwp/followers","following_url":"https://api.github.com/users/xwp/following{/other_user}","gists_url":"https://api.github.com/users/xwp/gists{/gist_id}","starred_url":"https://api.github.com/users/xwp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwp/subscriptions","organizations_url":"https://api.github.com/users/xwp/orgs","repos_url":"https://api.github.com/users/xwp/repos","events_url":"https://api.github.com/users/xwp/events{/privacy}","received_events_url":"https://api.github.com/users/xwp/received_events","type":"Organization","site_admin":false},"repo":{"id":45574788,"name":"wp-customize-snapshots","full_name":"xwp/wp-customize-snapshots","owner":{"login":"xwp","id":9003139,"avatar_url":"https://avatars.githubusercontent.com/u/9003139?v=3","gravatar_id":"","url":"https://api.github.com/users/xwp","html_url":"https://github.com/xwp","followers_url":"https://api.github.com/users/xwp/followers","following_url":"https://api.github.com/users/xwp/following{/other_user}","gists_url":"https://api.github.com/users/xwp/gists{/gist_id}","starred_url":"https://api.github.com/users/xwp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwp/subscriptions","organizations_url":"https://api.github.com/users/xwp/orgs","repos_url":"https://api.github.com/users/xwp/repos","events_url":"https://api.github.com/users/xwp/events{/privacy}","received_events_url":"https://api.github.com/users/xwp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xwp/wp-customize-snapshots","description":"Customize Snapshots WordPress Plugin","fork":false,"url":"https://api.github.com/repos/xwp/wp-customize-snapshots","forks_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/forks","keys_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/teams","hooks_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/hooks","issue_events_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/events{/number}","events_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/events","assignees_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/assignees{/user}","branches_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/branches{/branch}","tags_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/tags","blobs_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/refs{/sha}","trees_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/statuses/{sha}","languages_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/languages","stargazers_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/stargazers","contributors_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/contributors","subscribers_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/subscribers","subscription_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/subscription","commits_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/commits{/sha}","git_commits_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/commits{/sha}","comments_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/comments{/number}","issue_comment_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/comments{/number}","contents_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/contents/{+path}","compare_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/merges","archive_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/downloads","issues_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues{/number}","pulls_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls{/number}","milestones_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/milestones{/number}","notifications_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/labels{/name}","releases_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/releases{/id}","created_at":"2015-11-04T23:42:20Z","updated_at":"2015-11-09T07:09:21Z","pushed_at":"2015-11-19T06:16:10Z","git_url":"git://github.com/xwp/wp-customize-snapshots.git","ssh_url":"git@github.com:xwp/wp-customize-snapshots.git","clone_url":"https://github.com/xwp/wp-customize-snapshots.git","svn_url":"https://github.com/xwp/wp-customize-snapshots","homepage":"https://wordpress.org/plugins/customize-snapshots/","size":111,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"xwp:master","ref":"master","sha":"3f5c03302821c5b8c2e99f4e784b1deaefdb4e15","user":{"login":"xwp","id":9003139,"avatar_url":"https://avatars.githubusercontent.com/u/9003139?v=3","gravatar_id":"","url":"https://api.github.com/users/xwp","html_url":"https://github.com/xwp","followers_url":"https://api.github.com/users/xwp/followers","following_url":"https://api.github.com/users/xwp/following{/other_user}","gists_url":"https://api.github.com/users/xwp/gists{/gist_id}","starred_url":"https://api.github.com/users/xwp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwp/subscriptions","organizations_url":"https://api.github.com/users/xwp/orgs","repos_url":"https://api.github.com/users/xwp/repos","events_url":"https://api.github.com/users/xwp/events{/privacy}","received_events_url":"https://api.github.com/users/xwp/received_events","type":"Organization","site_admin":false},"repo":{"id":45574788,"name":"wp-customize-snapshots","full_name":"xwp/wp-customize-snapshots","owner":{"login":"xwp","id":9003139,"avatar_url":"https://avatars.githubusercontent.com/u/9003139?v=3","gravatar_id":"","url":"https://api.github.com/users/xwp","html_url":"https://github.com/xwp","followers_url":"https://api.github.com/users/xwp/followers","following_url":"https://api.github.com/users/xwp/following{/other_user}","gists_url":"https://api.github.com/users/xwp/gists{/gist_id}","starred_url":"https://api.github.com/users/xwp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwp/subscriptions","organizations_url":"https://api.github.com/users/xwp/orgs","repos_url":"https://api.github.com/users/xwp/repos","events_url":"https://api.github.com/users/xwp/events{/privacy}","received_events_url":"https://api.github.com/users/xwp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xwp/wp-customize-snapshots","description":"Customize Snapshots WordPress Plugin","fork":false,"url":"https://api.github.com/repos/xwp/wp-customize-snapshots","forks_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/forks","keys_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/teams","hooks_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/hooks","issue_events_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/events{/number}","events_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/events","assignees_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/assignees{/user}","branches_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/branches{/branch}","tags_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/tags","blobs_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/refs{/sha}","trees_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/statuses/{sha}","languages_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/languages","stargazers_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/stargazers","contributors_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/contributors","subscribers_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/subscribers","subscription_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/subscription","commits_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/commits{/sha}","git_commits_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/git/commits{/sha}","comments_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/comments{/number}","issue_comment_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/comments{/number}","contents_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/contents/{+path}","compare_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/merges","archive_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/downloads","issues_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues{/number}","pulls_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls{/number}","milestones_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/milestones{/number}","notifications_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/labels{/name}","releases_url":"https://api.github.com/repos/xwp/wp-customize-snapshots/releases{/id}","created_at":"2015-11-04T23:42:20Z","updated_at":"2015-11-09T07:09:21Z","pushed_at":"2015-11-19T06:16:10Z","git_url":"git://github.com/xwp/wp-customize-snapshots.git","ssh_url":"git@github.com:xwp/wp-customize-snapshots.git","clone_url":"https://github.com/xwp/wp-customize-snapshots.git","svn_url":"https://github.com/xwp/wp-customize-snapshots","homepage":"https://wordpress.org/plugins/customize-snapshots/","size":111,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4"},"html":{"href":"https://github.com/xwp/wp-customize-snapshots/pull/4"},"issue":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/4"},"comments":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/xwp/wp-customize-snapshots/statuses/531d724875f96d99861ec62d5307aa23dcd82182"}}}}