Fix: biographical info not erased during personal data erasure (#64282)#10589
Fix: biographical info not erased during personal data erasure (#64282)#10589iflair wants to merge 1 commit intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @info@iflair.com. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
| /** | ||
| * Registers the personal data eraser for users. | ||
| * | ||
| * @since 6.7.0 |
There was a problem hiding this comment.
6.7.0 wouldn't be accurate here, but we can't say for sure if it would be 7.0 or some other version. Typically in this case, the recommended tag is something like this (which gets changed when committed to whichever version is being targeted):
I'd update all the other @since tags in this PR to match.
| * @since 6.7.0 | |
| * @since n.e.x.t |
Trac ticket: https://core.trac.wordpress.org/ticket/64282
Summary
This patch ensures the biographical information (user meta 'description') is removed
as part of the personal data erasure process.
What I changed
wp_user_personal_data_eraser()in wp-includes/user.phpthat deletes
descriptionuser meta during erasure.wp_privacy_personal_data_erasersfilter (wp-includes/default-filters.php).Testing
descriptionmeta is removed when erasing personal data.Notes
Please let me know if you'd like me to split the changes, add unit tests, or adjust any naming.