Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#44380 closed defect (bug) (duplicate)

The two instances of user_confirmed_action_email_content should be unique

Reported by: garrett-eclipse Owned by:
Priority: normal Milestone:
Component: Privacy Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Hello,

I noticed that the user_confirmed_action_email_content filter is used in two places will fully different contents expected and feel they should be unique to avoid accidentally affected the other instance unintentionally.

They can be found here;
​https://github.com/WordPress/WordPress/blob/3ee58b55b14683af4c568bce1845c37408c88fbb/wp-includes/user.php#L3054
​https://github.com/WordPress/WordPress/blob/3ee58b55b14683af4c568bce1845c37408c88fbb/wp-includes/user.php#L3172

The biggest difference I noticed was the $email_data and placeholders are all different between each instance.

Cheers

Change History (4)

#1 @desrosj
8 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Version trunk

Good find, @garrett-eclipse. This is already being tracked in #44314. Patch testing is appreciated!

This ticket was mentioned in ​Slack in #core-privacy by desrosj. ​View the logs.


8 years ago

#3 @garrett-eclipse
8 years ago

Thanks @desrosj I'll check it out

#4 @garrett-eclipse
6 years ago

  • Focuses privacy removed

Dropping privacy focus as it's already in the Privacy component.

Note: See TracTickets for help on using tickets.