Opened 3 years ago

Closed 3 years ago

#2597 closed defect (bug) (fixed)

Email FROM title problem [has-patch]

Reported by: intimez Owned by:
Priority: normal Milestone: 1.2.6
Component: Core Version:
Severity: Keywords: has-patch
Cc: johnjamesjacoby, cnorris23, DJPaul

Description

Configured site title is Example’s Website

notification email (FROM field) that is sent shows example & # 039; s Website <noreply@…>

Attachments (1)

2597.diff (663 bytes) - added by boonebgorges 3 years ago.

Download all attachments as: .zip

Change History (5)

The problem is that apostrophes and single quotes are stripped on the way into the database for security reasons. The attached patch runs the blog title through htmlspecialchars_decode() before sending the email.

I'm of two minds about it, though. It's really a WP-wide problem. Something like this might be better as a WP patch.

  • Keywords has-patch added; email, title, from, notification removed
  • Summary changed from Email FROM title problem to Email FROM title problem [has-patch]

@boonebgorges

I tested and it works. Sorry, didn't know this should be for WP. I will create another one on WP trac and reference this post.

  • Resolution set to fixed
  • Status changed from new to closed

(In [3215]) Fixes #2597 props boonebgorges

Note: See TracTickets for help on using tickets.