Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#44031 closed enhancement (fixed)

Add personal data export request ID to the wp_privacy_personal_data_export_file_created hook

Reported by: thomasplevy's profile thomasplevy Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9.6 Priority: normal
Severity: normal Version: 5.1
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 6 years ago.
Add $request_id to wp_privacy_personal_data_export_file_created

Download all attachments as: .zip

Change History (10)

@thomasplevy
6 years 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.


6 years ago

#2 @allendav
6 years ago

  • Keywords gdpr has-patch needs-testing added

#3 @allendav
6 years ago

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

#4 @desrosj
6 years ago

  • Keywords commit added; needs-testing removed

Tests well, looks good.

#5 @desrosj
6 years ago

  • Milestone changed from Awaiting Review to 4.9.6

#6 @SergeyBiryukov
6 years 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
6 years 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
6 years ago

Thanks everyone!

#9 @desrosj
6 years ago

  • Component changed from General to Privacy

Moving to the new Privacy component.

Note: See TracTickets for help on using tickets.