WordPress.org

Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 16 months 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: 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 16 months ago.
Add $request_id to wp_privacy_personal_data_export_file_created

Download all attachments as: .zip

Change History (10)

@thomasplevy
16 months 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.


16 months ago

#2 @allendav
16 months ago

  • Keywords gdpr has-patch needs-testing added

#3 @allendav
16 months ago

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

#4 @desrosj
16 months ago

  • Keywords commit added; needs-testing removed

Tests well, looks good.

#5 @desrosj
16 months ago

  • Milestone changed from Awaiting Review to 4.9.6

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

Thanks everyone!

#9 @desrosj
16 months ago

  • Component changed from General to Privacy

Moving to the new Privacy component.

Note: See TracTickets for help on using tickets.