WordPress.org

Make WordPress Core

Opened 2 weeks ago

Last modified 2 weeks ago

#44500 new enhancement

Mark data requests failed when an expired link is clicked

Reported by: desrosj Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords: has-patch needs-testing needs-unit-tests
Focuses: Cc:

Description

When a user data request expires (the user does not click the confirmation link within the specified timeframe), it is transitioned to the request-failed status.

Currently, data export/erasure requests are only marked as request-failed when an administrator visits the Export/Erase Personal Data pages (which will be pretty infrequent). #44498 aims to move transitioning of expired requests to request-failed with a cron, but a request could also be marked as expired when a user clicks an expired link.

Attachments (1)

44500.diff (2.0 KB) - added by desrosj 2 weeks ago.

Download all attachments as: .zip

Change History (2)

@desrosj
2 weeks ago

#1 @desrosj
2 weeks ago

  • Keywords needs-unit-tests added

44500.diff introduces wp_mark_user_request_failed() to transition user requests to request-failed and erase post passwords and utilizes it in _wp_personal_data_cleanup_requests() and when validating a confirmaction request in wp-login.php.

Note: See TracTickets for help on using tickets.