Opened 3 years ago
Closed 3 years ago
#2597 closed defect (bug) (fixed)
Email FROM title problem [has-patch]
| Reported by: |
|
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)
Change History (5)
comment:1
boonebgorges — 3 years ago
boonebgorges — 3 years ago
comment:2
boonebgorges — 3 years ago
- 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.
comment:4
johnjamesjacoby — 3 years ago
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

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.