Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years 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's profile sudar Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.8
Component: Privacy Keywords:
Focuses: Cc:

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
6 years 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 6 years ago by birgire (previous) (diff)
Note: See TracTickets for help on using tickets.