WordPress.org

Make WordPress Core

#44254 closed defect (bug) (invalid)

Personal Data archives are not deleted / cleaned up

Reported by: joehoyle Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords:
Focuses: Cc:

Description

Hey folks,

I noticed when working on adding compatibility for custom streamwrappers to the Personal Data features (https://github.com/humanmade/S3-Uploads/pull/243 if interested) that I don't see anywhere where the personal data ZIP files are removed.

I'd imagine these would make sense to be cleaned up on an interval or certainly as part of the Erase Personal Data feature. It would seem at the moment someone using the Export Personal Data tool (and putting all their personal data in the uploads folder indefinitely) and then the Erase Personal Data then _not_ deleting that would be the opposite goal to the whole enterprise!

Change History (3)

#1 @desrosj
14 months ago

  • Keywords close added

A new hourly cron was added that cleans up export files 3 days after their creation (see `wp-includes/functions.php`).

There is currently no way to delete an export file from the admin. When a request is deleted, the file remains in case the user has received an email with a link to their data export file.

@joehoyle can you confirm that this works for the S3 plugin?

#2 @joehoyle
14 months ago

Sorry for the bother @desrosj you are right. Yup all works with the S3 plugin.

#3 @desrosj
14 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

No problem, @joehoyle! Thanks for adding support, and glad it is working.

Note: See TracTickets for help on using tickets.