Skip to:

Opened 7 years ago

Closed 6 years ago

#2722 closed defect (duplicate)

Subscription notification emails contain html entities

Reported by: roysmyth Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5.4
Component: API - Subscriptions Keywords:


When posts are submitted from non-admin users, symbols and other characters are converted to html entities.

When a notification is sent to subscribers plain text email is used. The html entities show up in the post title and body sections of the email as codes not characters. This is easy to fix by using html_entity_decode($string, ENT_QUOTES) on both the post title and body before they are sent to wp mail.

Change History (1)

#1 @thebrandonallen
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing in favor of #2865

Note: See TracTickets for help on using tickets.