{"action":"created","comment":{"url":"https://api.github.com/repos/moderntribe/pardot/pulls/comments/168901842","pull_request_review_id":97353849,"id":168901842,"diff_hunk":"@@ -787,12 +788,14 @@ public static function pardot_encrypt( $input_string, $key = 'pardot_key' ) {\n \n \t\t// Use simple OpenSSL encryption available in PHP 7.x+\n \t\tif ( function_exists( 'openssl_encrypt' ) ) {\n-\t\t\treturn openssl_encrypt( $input_string, 'AES-256-CBC', $key, true, 'pardot_simple_iv' );\n+\t\t\t$key = defined( 'SECURE_AUTH_SALT' ) ? substr( SECURE_AUTH_SALT, 0, 16 ) : $key;","path":"includes/pardot-settings-class.php","position":18,"original_position":18,"commit_id":"a4462b8476a6a0d09da7476286c2b9f657dade11","original_commit_id":"a4462b8476a6a0d09da7476286c2b9f657dade11","user":{"login":"ggwicz","id":875201,"avatar_url":"https://avatars3.githubusercontent.com/u/875201?v=4","gravatar_id":"","url":"https://api.github.com/users/ggwicz","html_url":"https://github.com/ggwicz","followers_url":"https://api.github.com/users/ggwicz/followers","following_url":"https://api.github.com/users/ggwicz/following{/other_user}","gists_url":"https://api.github.com/users/ggwicz/gists{/gist_id}","starred_url":"https://api.github.com/users/ggwicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggwicz/subscriptions","organizations_url":"https://api.github.com/users/ggwicz/orgs","repos_url":"https://api.github.com/users/ggwicz/repos","events_url":"https://api.github.com/users/ggwicz/events{/privacy}","received_events_url":"https://api.github.com/users/ggwicz/received_events","type":"User","site_admin":false},"body":"great point!\r\n","created_at":"2018-02-17T00:24:42Z","updated_at":"2018-02-17T00:24:42Z","html_url":"https://github.com/moderntribe/pardot/pull/7#discussion_r168901842","pull_request_url":"https://api.github.com/repos/moderntribe/pardot/pulls/7","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/moderntribe/pardot/pulls/comments/168901842"},"html":{"href":"https://github.com/moderntribe/pardot/pull/7#discussion_r168901842"},"pull_request":{"href":"https://api.github.com/repos/moderntribe/pardot/pulls/7"}},"in_reply_to_id":168901616},"pull_request":{"url":"https://api.github.com/repos/moderntribe/pardot/pulls/7","id":169754418,"html_url":"https://github.com/moderntribe/pardot/pull/7","diff_url":"https://github.com/moderntribe/pardot/pull/7.diff","patch_url":"https://github.com/moderntribe/pardot/pull/7.patch","issue_url":"https://api.github.com/repos/moderntribe/pardot/issues/7","number":7,"state":"open","locked":false,"title":"#90688 Use Valid Key","user":{"login":"ggwicz","id":875201,"avatar_url":"https://avatars3.githubusercontent.com/u/875201?v=4","gravatar_id":"","url":"https://api.github.com/users/ggwicz","html_url":"https://github.com/ggwicz","followers_url":"https://api.github.com/users/ggwicz/followers","following_url":"https://api.github.com/users/ggwicz/following{/other_user}","gists_url":"https://api.github.com/users/ggwicz/gists{/gist_id}","starred_url":"https://api.github.com/users/ggwicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggwicz/subscriptions","organizations_url":"https://api.github.com/users/ggwicz/orgs","repos_url":"https://api.github.com/users/ggwicz/repos","events_url":"https://api.github.com/users/ggwicz/events{/privacy}","received_events_url":"https://api.github.com/users/ggwicz/received_events","type":"User","site_admin":false},"body":"Valid if `AUTH_SALT` and `SECURE_AUTH_SALT` are defined in the user's `wp-config.php`, anyways, which both should be...\r\n\r\n**Ticket:** [**#90688**](http://central.tri.be/issues/90688)\r\n\r\n","created_at":"2018-02-17T00:12:35Z","updated_at":"2018-02-17T00:24:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b70f3a743e7fe0524f3f27d92e0d4842d3b27d6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":691839413,"url":"https://api.github.com/repos/moderntribe/pardot/labels/code%20review","name":"code review","color":"bfe5bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/moderntribe/pardot/pulls/7/commits","review_comments_url":"https://api.github.com/repos/moderntribe/pardot/pulls/7/comments","review_comment_url":"https://api.github.com/repos/moderntribe/pardot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moderntribe/pardot/issues/7/comments","statuses_url":"https://api.github.com/repos/moderntribe/pardot/statuses/a4462b8476a6a0d09da7476286c2b9f657dade11","head":{"label":"moderntribe:fix/90688-add-valid-iv","ref":"fix/90688-add-valid-iv","sha":"a4462b8476a6a0d09da7476286c2b9f657dade11","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars1.githubusercontent.com/u/2279551?v=4","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":102787056,"name":"pardot","full_name":"moderntribe/pardot","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars1.githubusercontent.com/u/2279551?v=4","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/pardot","description":"Working repository for the Pardot plugin","fork":false,"url":"https://api.github.com/repos/moderntribe/pardot","forks_url":"https://api.github.com/repos/moderntribe/pardot/forks","keys_url":"https://api.github.com/repos/moderntribe/pardot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/pardot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/pardot/teams","hooks_url":"https://api.github.com/repos/moderntribe/pardot/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/pardot/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/pardot/events","assignees_url":"https://api.github.com/repos/moderntribe/pardot/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/pardot/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/pardot/tags","blobs_url":"https://api.github.com/repos/moderntribe/pardot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/pardot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/pardot/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/pardot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/pardot/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/pardot/languages","stargazers_url":"https://api.github.com/repos/moderntribe/pardot/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/pardot/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/pardot/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/pardot/subscription","commits_url":"https://api.github.com/repos/moderntribe/pardot/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/pardot/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/pardot/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/pardot/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/pardot/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/pardot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/pardot/merges","archive_url":"https://api.github.com/repos/moderntribe/pardot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/pardot/downloads","issues_url":"https://api.github.com/repos/moderntribe/pardot/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/pardot/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/pardot/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/pardot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/pardot/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/pardot/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/pardot/deployments","created_at":"2017-09-07T21:23:54Z","updated_at":"2017-09-07T21:27:26Z","pushed_at":"2018-02-17T00:21:49Z","git_url":"git://github.com/moderntribe/pardot.git","ssh_url":"git@github.com:moderntribe/pardot.git","clone_url":"https://github.com/moderntribe/pardot.git","svn_url":"https://github.com/moderntribe/pardot","homepage":null,"size":566,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"moderntribe:develop","ref":"develop","sha":"55d1fab2807d08f6ab9cbb445d531c47e0148941","user":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars1.githubusercontent.com/u/2279551?v=4","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"repo":{"id":102787056,"name":"pardot","full_name":"moderntribe/pardot","owner":{"login":"moderntribe","id":2279551,"avatar_url":"https://avatars1.githubusercontent.com/u/2279551?v=4","gravatar_id":"","url":"https://api.github.com/users/moderntribe","html_url":"https://github.com/moderntribe","followers_url":"https://api.github.com/users/moderntribe/followers","following_url":"https://api.github.com/users/moderntribe/following{/other_user}","gists_url":"https://api.github.com/users/moderntribe/gists{/gist_id}","starred_url":"https://api.github.com/users/moderntribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moderntribe/subscriptions","organizations_url":"https://api.github.com/users/moderntribe/orgs","repos_url":"https://api.github.com/users/moderntribe/repos","events_url":"https://api.github.com/users/moderntribe/events{/privacy}","received_events_url":"https://api.github.com/users/moderntribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moderntribe/pardot","description":"Working repository for the Pardot plugin","fork":false,"url":"https://api.github.com/repos/moderntribe/pardot","forks_url":"https://api.github.com/repos/moderntribe/pardot/forks","keys_url":"https://api.github.com/repos/moderntribe/pardot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moderntribe/pardot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moderntribe/pardot/teams","hooks_url":"https://api.github.com/repos/moderntribe/pardot/hooks","issue_events_url":"https://api.github.com/repos/moderntribe/pardot/issues/events{/number}","events_url":"https://api.github.com/repos/moderntribe/pardot/events","assignees_url":"https://api.github.com/repos/moderntribe/pardot/assignees{/user}","branches_url":"https://api.github.com/repos/moderntribe/pardot/branches{/branch}","tags_url":"https://api.github.com/repos/moderntribe/pardot/tags","blobs_url":"https://api.github.com/repos/moderntribe/pardot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moderntribe/pardot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moderntribe/pardot/git/refs{/sha}","trees_url":"https://api.github.com/repos/moderntribe/pardot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moderntribe/pardot/statuses/{sha}","languages_url":"https://api.github.com/repos/moderntribe/pardot/languages","stargazers_url":"https://api.github.com/repos/moderntribe/pardot/stargazers","contributors_url":"https://api.github.com/repos/moderntribe/pardot/contributors","subscribers_url":"https://api.github.com/repos/moderntribe/pardot/subscribers","subscription_url":"https://api.github.com/repos/moderntribe/pardot/subscription","commits_url":"https://api.github.com/repos/moderntribe/pardot/commits{/sha}","git_commits_url":"https://api.github.com/repos/moderntribe/pardot/git/commits{/sha}","comments_url":"https://api.github.com/repos/moderntribe/pardot/comments{/number}","issue_comment_url":"https://api.github.com/repos/moderntribe/pardot/issues/comments{/number}","contents_url":"https://api.github.com/repos/moderntribe/pardot/contents/{+path}","compare_url":"https://api.github.com/repos/moderntribe/pardot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moderntribe/pardot/merges","archive_url":"https://api.github.com/repos/moderntribe/pardot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moderntribe/pardot/downloads","issues_url":"https://api.github.com/repos/moderntribe/pardot/issues{/number}","pulls_url":"https://api.github.com/repos/moderntribe/pardot/pulls{/number}","milestones_url":"https://api.github.com/repos/moderntribe/pardot/milestones{/number}","notifications_url":"https://api.github.com/repos/moderntribe/pardot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moderntribe/pardot/labels{/name}","releases_url":"https://api.github.com/repos/moderntribe/pardot/releases{/id}","deployments_url":"https://api.github.com/repos/moderntribe/pardot/deployments","created_at":"2017-09-07T21:23:54Z","updated_at":"2017-09-07T21:27:26Z","pushed_at":"2018-02-17T00:21:49Z","git_url":"git://github.com/moderntribe/pardot.git","ssh_url":"git@github.com:moderntribe/pardot.git","clone_url":"https://github.com/moderntribe/pardot.git","svn_url":"https://github.com/moderntribe/pardot","homepage":null,"size":566,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/moderntribe/pardot/pulls/7"},"html":{"href":"https://github.com/moderntribe/pardot/pull/7"},"issue":{"href":"https://api.github.com/repos/moderntribe/pardot/issues/7"},"comments":{"href":"https://api.github.com/repos/moderntribe/pardot/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/moderntribe/pardot/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/moderntribe/pardot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moderntribe/pardot/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/moderntribe/pardot/statuses/a4462b8476a6a0d09da7476286c2b9f657dade11"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ggwicz"}}