WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 7 days ago

#44031 closed enhancement (fixed)

Add personal data export request ID to the wp_privacy_personal_data_export_file_created hook

Reported by: thomasplevy Owned by: SergeyBiryukov
Milestone: 4.9.6 Priority: normal
Severity: normal Version: trunk
Component: Privacy Keywords: gdpr has-patch commit
Focuses: Cc:

Description

Adding the request ID would allow plugins to gather information about the request after generation of the export ZIP file.

I would like to be able to add additional files directly to the zip file which I don't want to be accessible on public URLS. Knowing the request id allows me to look up the user for the request and add files specific to that user to the zip file.

Attachments (1)

44031.patch (917 bytes) - added by thomasplevy 2 weeks ago.
Add $request_id to wp_privacy_personal_data_export_file_created

Download all attachments as: .zip

Change History (10)

@thomasplevy
2 weeks ago

Add $request_id to wp_privacy_personal_data_export_file_created

This ticket was mentioned in Slack in #gdpr-compliance by thomasplevy. View the logs.


2 weeks ago

#2 @allendav
2 weeks ago

  • Keywords gdpr has-patch needs-testing added

#3 @allendav
2 weeks ago

Applies, tests fine. Good to go, imho. Thank you very much for this @thomasplevy

#4 @desrosj
2 weeks ago

  • Keywords commit added; needs-testing removed

Tests well, looks good.

#5 @desrosj
2 weeks ago

  • Milestone changed from Awaiting Review to 4.9.6

#6 @SergeyBiryukov
2 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 43208:

Privacy: Pass export request ID to wp_privacy_personal_data_export_file_created filter.

Props thomasplevy.
Fixes #44031.

#7 @SergeyBiryukov
2 weeks ago

In 43209:

Privacy: Pass export request ID to wp_privacy_personal_data_export_file_created filter.

Props thomasplevy.
Merges [43208] to the 4.9 branch.
Fixes #44031.

#8 @thomasplevy
2 weeks ago

Thanks everyone!

#9 @desrosj
7 days ago

  • Component changed from General to Privacy

Moving to the new Privacy component.

Note: See TracTickets for help on using tickets.