{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/9395","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/9395/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/9395/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/9395/events","html_url":"https://github.com/Automattic/jetpack/pull/9395","id":316966287,"number":9395,"title":"Register personal data exporter & eraser for feedback (i.e., contact form submissions)","user":{"login":"jaswrks","id":1563559,"avatar_url":"https://avatars3.githubusercontent.com/u/1563559?v=4","gravatar_id":"","url":"https://api.github.com/users/jaswrks","html_url":"https://github.com/jaswrks","followers_url":"https://api.github.com/users/jaswrks/followers","following_url":"https://api.github.com/users/jaswrks/following{/other_user}","gists_url":"https://api.github.com/users/jaswrks/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswrks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswrks/subscriptions","organizations_url":"https://api.github.com/users/jaswrks/orgs","repos_url":"https://api.github.com/users/jaswrks/repos","events_url":"https://api.github.com/users/jaswrks/events{/privacy}","received_events_url":"https://api.github.com/users/jaswrks/received_events","type":"User","site_admin":false},"labels":[{"id":70993118,"url":"https://api.github.com/repos/Automattic/jetpack/labels/Contact%20Form","name":"Contact Form","color":"006b75","default":false},{"id":858373370,"url":"https://api.github.com/repos/Automattic/jetpack/labels/Needs%20GDPR%20Review","name":"Needs GDPR Review","color":"b60205","default":false},{"id":199076921,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04","default":false},{"id":822057521,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20GDPR","name":"[Type] GDPR","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/102","html_url":"https://github.com/Automattic/jetpack/milestone/102","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/102/labels","id":3292820,"number":102,"title":"6.1.1","description":"","creator":{"login":"oskosk","id":746152,"avatar_url":"https://avatars2.githubusercontent.com/u/746152?v=4","gravatar_id":"","url":"https://api.github.com/users/oskosk","html_url":"https://github.com/oskosk","followers_url":"https://api.github.com/users/oskosk/followers","following_url":"https://api.github.com/users/oskosk/following{/other_user}","gists_url":"https://api.github.com/users/oskosk/gists{/gist_id}","starred_url":"https://api.github.com/users/oskosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskosk/subscriptions","organizations_url":"https://api.github.com/users/oskosk/orgs","repos_url":"https://api.github.com/users/oskosk/repos","events_url":"https://api.github.com/users/oskosk/events{/privacy}","received_events_url":"https://api.github.com/users/oskosk/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2018-04-24T13:26:44Z","updated_at":"2018-05-03T21:28:19Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-04-23T20:14:50Z","updated_at":"2018-05-04T18:35:09Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/9395","html_url":"https://github.com/Automattic/jetpack/pull/9395","diff_url":"https://github.com/Automattic/jetpack/pull/9395.diff","patch_url":"https://github.com/Automattic/jetpack/pull/9395.patch"},"body":"Closes https://github.com/Automattic/jetpack/issues/8799\r\n\r\nUses upcoming changes in core:\r\n- https://core.trac.wordpress.org/ticket/43546\r\n- https://core.trac.wordpress.org/ticket/43438\r\n- https://core.trac.wordpress.org/ticket/43440\r\n\r\n#### Changes proposed in this Pull Request:\r\n\r\n* Registers and implements a core data exporter.\r\n* Registers and implements a core data eraser.\r\n* Adds unit tests for the exporter and eraser.\r\n\r\n#### Does this work in current versions of WordPress?\r\n\r\nNot yet, but it attaches through filters, so in current versions of WordPress it's simply not enabled, because the filters do not exist yet. To clarify further, this works with [upcoming tools in core](https://core.trac.wordpress.org/ticket/43546) that allow site owners to export personal data and/or remove personal data by email address.\r\n\r\n#### Testing instructions:\r\n\r\n* I suggest testing with [VVV](https://github.com/Varying-Vagrant-Vagrants/VVV) using `wordpress-develop`, which already has some of the above patches. Just add: https://core.trac.wordpress.org/attachment/ticket/43546/43546.5.diff (e.g., `patch -p0 43546.5.diff`\r\n\r\n* Enable Jetpack Contact Forms.\r\n* Create a page and add a Jetpack Contact Form.\r\n* Submit the form a couple of times with a test email address.\r\n* Then test both of these upcoming tools in core.\r\n  - Export Personal Data\r\n  - Remove Personal Data\r\n\r\n  ![2018-04-23_12-02-57](https://user-images.githubusercontent.com/1563559/39150338-7c4bd890-46ee-11e8-8517-474bf553c6b2.png)\r\n\r\nYou should find that exporting personal data includes a \"Feedback\" group containing the personal data that you submitted with the test email address. Removing personal data should remove the Feedback posts associated with the test email address.\r\n\r\n#### Proposed changelog entry for your changes:\r\n\r\n* GDPR: Adds Feedback data (i.e., Contact Form Submissions) to the Personal Data exported and/or erased by the latest version of WordPress core."},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/386694817","html_url":"https://github.com/Automattic/jetpack/pull/9395#issuecomment-386694817","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/9395","id":386694817,"user":{"login":"jaswrks","id":1563559,"avatar_url":"https://avatars3.githubusercontent.com/u/1563559?v=4","gravatar_id":"","url":"https://api.github.com/users/jaswrks","html_url":"https://github.com/jaswrks","followers_url":"https://api.github.com/users/jaswrks/followers","following_url":"https://api.github.com/users/jaswrks/following{/other_user}","gists_url":"https://api.github.com/users/jaswrks/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswrks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswrks/subscriptions","organizations_url":"https://api.github.com/users/jaswrks/orgs","repos_url":"https://api.github.com/users/jaswrks/repos","events_url":"https://api.github.com/users/jaswrks/events{/privacy}","received_events_url":"https://api.github.com/users/jaswrks/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T18:35:08Z","updated_at":"2018-05-04T18:35:08Z","author_association":"MEMBER","body":"Cool, thanks!"}}
{"actor":{"display_login":"jaswrks"}}