Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #64282, comment 2


Ignore:
Timestamp:
11/26/2025 11:27:21 AM (7 months ago)
Author:
iflairwebtechnologies
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64282, comment 2

    initial v1  
    22 
    33Changes made:
    4 - Added `delete_user_meta( $user_id, 'description' )` to `wp-admin/includes/user.php` to ensure biographical information is deleted during data erasure.
    5 - Added a filter to `wp-includes/default-filters.php` to ensure the new erasure function is applied.
     4
     5**1 In wp-includes/user.php:**
     6- Added a custom personal data eraser, wp_user_personal_data_eraser, to handle the erasure of **biographical information** (stored in the description field) during the personal data erasure process.
     7- Specifically, added a call to delete_user_meta( $user_id, 'description' ) to ensure the biographical information is removed as part of the data erasure request.
     8
     9**2. In wp-includes/default-filters.php:**
     10- Registered the custom **user personal data eraser** by adding a filter wp_privacy_personal_data_erasers to ensure the new erasure function is applied during the personal data removal process.