Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#39446 closed defect (bug) (fixed)

Apostrophes in blog title presented as ' in multisite new user email

Reported by: ajoah Owned by: johnbillion
Priority: normal Milestone: 4.8
Component: Mail Version:
Severity: normal Keywords: has-patch
Cc: Focuses: multisite

Description

Hi,

When an admin create an user in a multisite installation, an email is send :

Hi,
You've been invited to join Someone's site at ​http://example.com with the role of [Role].
If you do not want to join this site please ignore
this email. This invitation will expire in a few days.

Please click the following link to activate your user account:
​http://example.com

As you can see apostrophe is not decoded.

It is the same problem that this ticket. I hesitated to reopen it instead of create this one. I hope I made the right choice .

Attachments (1)

user.php.diff​ (552 bytes ) - added by ajoah 10 years ago.
Patch

Download all attachments as: .zip

Change History (5)

@ajoah
10 years ago

Patch

#1 @swissspidy
10 years ago

  • Keywords has-patch needs-testing added
  • Milestone Awaiting Review → 4.8

#2 @johnbillion
10 years ago

  • Owner set to johnbillion
  • Status new → reviewing
  • Version trunk

#3 @johnbillion
10 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 40127:

Mail: Ensure entities in the site title are decoded when used in the body of the new user email.

Props ajoah
Fixes #39446

#4 @johnbillion
10 years ago

  • Keywords needs-testing removed
Note: See TracTickets for help on using tickets.