{"action":"created","comment":{"url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/comments/205279281","pull_request_review_id":140518941,"id":205279281,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTI3OTI4MQ==","diff_hunk":"@@ -9,16 +9,28 @@\n     <form action=\"options.php\" method=\"post\"><?php\n         settings_fields('rs_remote_settings');\n         do_settings_sections(__FILE__);\n-        $options = get_option('rs_remote_settings'); ?>\n+        $options = get_option('rs_remote_settings');\n+        $rs_domain = (! empty($options['rs_domain']) && $options['rs_domain'] != '') ? $options['rs_domain'] : '';\n+        $base_domain = '.secure.retreat.guru';\n+        $http = 'https://';\n+\n+        if (isset($_SERVER['SERVER_NAME']) && ('rgconnect.test' == $_SERVER['SERVER_NAME'] || 'qa-testing.booking-demo.com' == $_SERVER['SERVER_NAME'])) {","path":"programs-remote-listings/views/admin-settings.php","position":10,"original_position":10,"commit_id":"784744239423e5e7946fb130732aec21db6fc445","original_commit_id":"b2d554452597f70ec3f99dd5a181f5acb8f06536","user":{"login":"shaynekasai","id":4693932,"node_id":"MDQ6VXNlcjQ2OTM5MzI=","avatar_url":"https://avatars3.githubusercontent.com/u/4693932?v=4","gravatar_id":"","url":"https://api.github.com/users/shaynekasai","html_url":"https://github.com/shaynekasai","followers_url":"https://api.github.com/users/shaynekasai/followers","following_url":"https://api.github.com/users/shaynekasai/following{/other_user}","gists_url":"https://api.github.com/users/shaynekasai/gists{/gist_id}","starred_url":"https://api.github.com/users/shaynekasai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaynekasai/subscriptions","organizations_url":"https://api.github.com/users/shaynekasai/orgs","repos_url":"https://api.github.com/users/shaynekasai/repos","events_url":"https://api.github.com/users/shaynekasai/events{/privacy}","received_events_url":"https://api.github.com/users/shaynekasai/received_events","type":"User","site_admin":false},"body":"see env comment above","created_at":"2018-07-25T22:17:29Z","updated_at":"2018-07-25T22:18:07Z","html_url":"https://github.com/retreatguru/rbg-connect/pull/29#discussion_r205279281","pull_request_url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/comments/205279281"},"html":{"href":"https://github.com/retreatguru/rbg-connect/pull/29#discussion_r205279281"},"pull_request":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29"}},"in_reply_to_id":201769904},"pull_request":{"url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29","id":192244490,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMjQ0NDkw","html_url":"https://github.com/retreatguru/rbg-connect/pull/29","diff_url":"https://github.com/retreatguru/rbg-connect/pull/29.diff","patch_url":"https://github.com/retreatguru/rbg-connect/pull/29.patch","issue_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues/29","number":29,"state":"open","locked":false,"title":"RBG-1990 fix multiple issues with wp connect plugin","user":{"login":"cloudEdwards","id":10618229,"node_id":"MDQ6VXNlcjEwNjE4MjI5","avatar_url":"https://avatars1.githubusercontent.com/u/10618229?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudEdwards","html_url":"https://github.com/cloudEdwards","followers_url":"https://api.github.com/users/cloudEdwards/followers","following_url":"https://api.github.com/users/cloudEdwards/following{/other_user}","gists_url":"https://api.github.com/users/cloudEdwards/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudEdwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudEdwards/subscriptions","organizations_url":"https://api.github.com/users/cloudEdwards/orgs","repos_url":"https://api.github.com/users/cloudEdwards/repos","events_url":"https://api.github.com/users/cloudEdwards/events{/privacy}","received_events_url":"https://api.github.com/users/cloudEdwards/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-03T12:15:04Z","updated_at":"2018-07-25T22:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ded2aae4613389f63ac8b891f25098ffbb188a4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"elifiner","id":816821,"node_id":"MDQ6VXNlcjgxNjgyMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/816821?v=4","gravatar_id":"","url":"https://api.github.com/users/elifiner","html_url":"https://github.com/elifiner","followers_url":"https://api.github.com/users/elifiner/followers","following_url":"https://api.github.com/users/elifiner/following{/other_user}","gists_url":"https://api.github.com/users/elifiner/gists{/gist_id}","starred_url":"https://api.github.com/users/elifiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifiner/subscriptions","organizations_url":"https://api.github.com/users/elifiner/orgs","repos_url":"https://api.github.com/users/elifiner/repos","events_url":"https://api.github.com/users/elifiner/events{/privacy}","received_events_url":"https://api.github.com/users/elifiner/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29/commits","review_comments_url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29/comments","review_comment_url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues/29/comments","statuses_url":"https://api.github.com/repos/retreatguru/rbg-connect/statuses/784744239423e5e7946fb130732aec21db6fc445","head":{"label":"retreatguru:cloud/RBG-1990-fix-multiple-issues-with-wp-connect-plugin","ref":"cloud/RBG-1990-fix-multiple-issues-with-wp-connect-plugin","sha":"784744239423e5e7946fb130732aec21db6fc445","user":{"login":"retreatguru","id":17933291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTMzMjkx","avatar_url":"https://avatars1.githubusercontent.com/u/17933291?v=4","gravatar_id":"","url":"https://api.github.com/users/retreatguru","html_url":"https://github.com/retreatguru","followers_url":"https://api.github.com/users/retreatguru/followers","following_url":"https://api.github.com/users/retreatguru/following{/other_user}","gists_url":"https://api.github.com/users/retreatguru/gists{/gist_id}","starred_url":"https://api.github.com/users/retreatguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retreatguru/subscriptions","organizations_url":"https://api.github.com/users/retreatguru/orgs","repos_url":"https://api.github.com/users/retreatguru/repos","events_url":"https://api.github.com/users/retreatguru/events{/privacy}","received_events_url":"https://api.github.com/users/retreatguru/received_events","type":"Organization","site_admin":false},"repo":{"id":32352730,"node_id":"MDEwOlJlcG9zaXRvcnkzMjM1MjczMA==","name":"rbg-connect","full_name":"retreatguru/rbg-connect","owner":{"login":"retreatguru","id":17933291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTMzMjkx","avatar_url":"https://avatars1.githubusercontent.com/u/17933291?v=4","gravatar_id":"","url":"https://api.github.com/users/retreatguru","html_url":"https://github.com/retreatguru","followers_url":"https://api.github.com/users/retreatguru/followers","following_url":"https://api.github.com/users/retreatguru/following{/other_user}","gists_url":"https://api.github.com/users/retreatguru/gists{/gist_id}","starred_url":"https://api.github.com/users/retreatguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retreatguru/subscriptions","organizations_url":"https://api.github.com/users/retreatguru/orgs","repos_url":"https://api.github.com/users/retreatguru/repos","events_url":"https://api.github.com/users/retreatguru/events{/privacy}","received_events_url":"https://api.github.com/users/retreatguru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/retreatguru/rbg-connect","description":null,"fork":false,"url":"https://api.github.com/repos/retreatguru/rbg-connect","forks_url":"https://api.github.com/repos/retreatguru/rbg-connect/forks","keys_url":"https://api.github.com/repos/retreatguru/rbg-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/retreatguru/rbg-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/retreatguru/rbg-connect/teams","hooks_url":"https://api.github.com/repos/retreatguru/rbg-connect/hooks","issue_events_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues/events{/number}","events_url":"https://api.github.com/repos/retreatguru/rbg-connect/events","assignees_url":"https://api.github.com/repos/retreatguru/rbg-connect/assignees{/user}","branches_url":"https://api.github.com/repos/retreatguru/rbg-connect/branches{/branch}","tags_url":"https://api.github.com/repos/retreatguru/rbg-connect/tags","blobs_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/retreatguru/rbg-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/retreatguru/rbg-connect/languages","stargazers_url":"https://api.github.com/repos/retreatguru/rbg-connect/stargazers","contributors_url":"https://api.github.com/repos/retreatguru/rbg-connect/contributors","subscribers_url":"https://api.github.com/repos/retreatguru/rbg-connect/subscribers","subscription_url":"https://api.github.com/repos/retreatguru/rbg-connect/subscription","commits_url":"https://api.github.com/repos/retreatguru/rbg-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/retreatguru/rbg-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/retreatguru/rbg-connect/contents/{+path}","compare_url":"https://api.github.com/repos/retreatguru/rbg-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/retreatguru/rbg-connect/merges","archive_url":"https://api.github.com/repos/retreatguru/rbg-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/retreatguru/rbg-connect/downloads","issues_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues{/number}","pulls_url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/retreatguru/rbg-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/retreatguru/rbg-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/retreatguru/rbg-connect/labels{/name}","releases_url":"https://api.github.com/repos/retreatguru/rbg-connect/releases{/id}","deployments_url":"https://api.github.com/repos/retreatguru/rbg-connect/deployments","created_at":"2015-03-16T21:01:39Z","updated_at":"2018-07-04T22:51:22Z","pushed_at":"2018-07-11T22:35:54Z","git_url":"git://github.com/retreatguru/rbg-connect.git","ssh_url":"git@github.com:retreatguru/rbg-connect.git","clone_url":"https://github.com/retreatguru/rbg-connect.git","svn_url":"https://github.com/retreatguru/rbg-connect","homepage":null,"size":290,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"retreatguru:master","ref":"master","sha":"c9da1116e17ad77b417d648d9043abb0f000b374","user":{"login":"retreatguru","id":17933291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTMzMjkx","avatar_url":"https://avatars1.githubusercontent.com/u/17933291?v=4","gravatar_id":"","url":"https://api.github.com/users/retreatguru","html_url":"https://github.com/retreatguru","followers_url":"https://api.github.com/users/retreatguru/followers","following_url":"https://api.github.com/users/retreatguru/following{/other_user}","gists_url":"https://api.github.com/users/retreatguru/gists{/gist_id}","starred_url":"https://api.github.com/users/retreatguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retreatguru/subscriptions","organizations_url":"https://api.github.com/users/retreatguru/orgs","repos_url":"https://api.github.com/users/retreatguru/repos","events_url":"https://api.github.com/users/retreatguru/events{/privacy}","received_events_url":"https://api.github.com/users/retreatguru/received_events","type":"Organization","site_admin":false},"repo":{"id":32352730,"node_id":"MDEwOlJlcG9zaXRvcnkzMjM1MjczMA==","name":"rbg-connect","full_name":"retreatguru/rbg-connect","owner":{"login":"retreatguru","id":17933291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTMzMjkx","avatar_url":"https://avatars1.githubusercontent.com/u/17933291?v=4","gravatar_id":"","url":"https://api.github.com/users/retreatguru","html_url":"https://github.com/retreatguru","followers_url":"https://api.github.com/users/retreatguru/followers","following_url":"https://api.github.com/users/retreatguru/following{/other_user}","gists_url":"https://api.github.com/users/retreatguru/gists{/gist_id}","starred_url":"https://api.github.com/users/retreatguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retreatguru/subscriptions","organizations_url":"https://api.github.com/users/retreatguru/orgs","repos_url":"https://api.github.com/users/retreatguru/repos","events_url":"https://api.github.com/users/retreatguru/events{/privacy}","received_events_url":"https://api.github.com/users/retreatguru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/retreatguru/rbg-connect","description":null,"fork":false,"url":"https://api.github.com/repos/retreatguru/rbg-connect","forks_url":"https://api.github.com/repos/retreatguru/rbg-connect/forks","keys_url":"https://api.github.com/repos/retreatguru/rbg-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/retreatguru/rbg-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/retreatguru/rbg-connect/teams","hooks_url":"https://api.github.com/repos/retreatguru/rbg-connect/hooks","issue_events_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues/events{/number}","events_url":"https://api.github.com/repos/retreatguru/rbg-connect/events","assignees_url":"https://api.github.com/repos/retreatguru/rbg-connect/assignees{/user}","branches_url":"https://api.github.com/repos/retreatguru/rbg-connect/branches{/branch}","tags_url":"https://api.github.com/repos/retreatguru/rbg-connect/tags","blobs_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/retreatguru/rbg-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/retreatguru/rbg-connect/languages","stargazers_url":"https://api.github.com/repos/retreatguru/rbg-connect/stargazers","contributors_url":"https://api.github.com/repos/retreatguru/rbg-connect/contributors","subscribers_url":"https://api.github.com/repos/retreatguru/rbg-connect/subscribers","subscription_url":"https://api.github.com/repos/retreatguru/rbg-connect/subscription","commits_url":"https://api.github.com/repos/retreatguru/rbg-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/retreatguru/rbg-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/retreatguru/rbg-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/retreatguru/rbg-connect/contents/{+path}","compare_url":"https://api.github.com/repos/retreatguru/rbg-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/retreatguru/rbg-connect/merges","archive_url":"https://api.github.com/repos/retreatguru/rbg-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/retreatguru/rbg-connect/downloads","issues_url":"https://api.github.com/repos/retreatguru/rbg-connect/issues{/number}","pulls_url":"https://api.github.com/repos/retreatguru/rbg-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/retreatguru/rbg-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/retreatguru/rbg-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/retreatguru/rbg-connect/labels{/name}","releases_url":"https://api.github.com/repos/retreatguru/rbg-connect/releases{/id}","deployments_url":"https://api.github.com/repos/retreatguru/rbg-connect/deployments","created_at":"2015-03-16T21:01:39Z","updated_at":"2018-07-04T22:51:22Z","pushed_at":"2018-07-11T22:35:54Z","git_url":"git://github.com/retreatguru/rbg-connect.git","ssh_url":"git@github.com:retreatguru/rbg-connect.git","clone_url":"https://github.com/retreatguru/rbg-connect.git","svn_url":"https://github.com/retreatguru/rbg-connect","homepage":null,"size":290,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29"},"html":{"href":"https://github.com/retreatguru/rbg-connect/pull/29"},"issue":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/issues/29"},"comments":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/retreatguru/rbg-connect/statuses/784744239423e5e7946fb130732aec21db6fc445"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"shaynekasai"}}