[wp-trac] [WordPress Trac] #44380: The two instances of user_confirmed_action_email_content should be unique
WordPress Trac
noreply at wordpress.org
Fri Jun 15 22:27:49 UTC 2018
#44380: The two instances of user_confirmed_action_email_content should be unique
-----------------------------+-----------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: trunk
Severity: normal | Keywords:
Focuses: privacy |
-----------------------------+-----------------------------
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;[[BR]]
https://github.com/WordPress/WordPress/blob/3ee58b55b14683af4c568bce1845c37408c88fbb
/wp-includes/user.php#L3054 [[BR]]
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44380>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list