WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/10/2018 08:43:39 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Send an email notification to the user once their personal data erasure request is fulfilled.

Props desrosj, allendav, garrett-eclipse.
Merges [43230] to the 4.9 branch.
Fixes #43973.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/user.php

    r43213 r43231  
    941941    _wp_privacy_completed_request( $request_id );
    942942
     943    /**
     944     * Fires immediately after a personal data erasure request has been marked completed.
     945     *
     946     * @since 4.9.6
     947     *
     948     * @param int $request_id The privacy request post ID associated with this request.
     949     */
     950    do_action( 'wp_privacy_personal_data_erased', $request_id );
     951
    943952    return $response;
    944953}
Note: See TracChangeset for help on using the changeset viewer.