WordPress.org

Make WordPress Core

Opened 2 months ago

#54416 new defect (bug)

Some WordPress generated emails escape special chars in the email address while other emails do not.

Reported by: ltuspe Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8
Component: Mail Keywords:
Focuses: Cc:

Description

When a user's email address contains an apostrophe, WordPress will escape the apostrophe in the email address for some WordPress generated emails, while it will not for other WordPress generated emails.

For example o'connor@… will be escaped to o\'connor@… for the 'Email Changed' and 'Password Changed' emails that are sent to the user.

For other emails, such as the 'User Lost Password' email, the email address is not escaped and is sent properly.

Change History (0)

Note: See TracTickets for help on using tickets.