Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#49121 new defect (bug)

Decode more HTML entities for the blogname sent in an email

Reported by: jensdavidsson Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: trunk
Component: Mail Keywords:
Focuses: Cc:


This concerns newly-registered users that are receiving email notifications.

The function wp_new_user_notification() should take more HTML entities in consideration when decoding the blogname value.

Attachments (1)

49121.diffโ€‹ (610 bytes) - added by jensdavidsson 7 weeks ago.

Download all attachments as: .zip

Change History (2)

#1 @jensdavidsson
7 weeks ago

How to reproduce the bug

Set the blogname to something that contains the special character รค. That same character will be encoded to ä when saved, but not properly decoded when sent in the email.

Note: See TracTickets for help on using tickets.