WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#44843 closed defect (bug) (duplicate)

Wrong filter name is used to filter the content of the email that is sent when a user's data is erased

Reported by: sudar Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.8
Component: Privacy Keywords:
Focuses: Cc:
PR Number:

Description

The _wp_privacy_send_erasure_fulfillment_notification function sends out an email when a user's data is successfully erased.

It uses the user_erasure_complete_email_subject filter to filter the subject of the email that is sent, which is correct.

But to filter out the content of the email, user_confirmed_action_email_content filter is used which is wrong. user_confirmed_action_email_content is used to filter out the email that is sent to users when they confirm either the data export or data erased request.

The correct filter name should be user_erasure_complete_email_content. If we agree upon the filter name, I can submit a patch.

Change History (1)

#1 @birgire
14 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report @sudar

This is being discussed in #44314, you're welcome to join in there.

Last edited 14 months ago by birgire (previous) (diff)
Note: See TracTickets for help on using tickets.