Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#2597 closed defect (bug) (fixed)

Email FROM title problem [has-patch]

Reported by: intimez's profile intimez Owned by:
Milestone: 1.2.6 Priority: normal
Severity: Version:
Component: Core 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 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @boonebgorges
14 years ago

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.

@boonebgorges
14 years ago

#2 @boonebgorges
14 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]

#3 @intimez
14 years ago

@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.

#4 @johnjamesjacoby
14 years ago

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

(In [3215]) Fixes #2597 props boonebgorges

Note: See TracTickets for help on using tickets.