Opened 12 years ago
Closed 12 years ago
#4401 closed defect (bug) (fixed)
Email subject line corrupted in 1.6 group notifications.
Reported by: | gh0zt | Owned by: | |
---|---|---|---|
Milestone: | 1.7 | Priority: | normal |
Severity: | major | Version: | |
Component: | Groups | Keywords: | |
Cc: |
Description
Since upgrading to v1.6 group notification subject lines are displaying “ and ” where there should be quotes.
I managed to fix it by removing the quotes from this line in the bp-groups-notifications.php and several other places:
$subject = '. $sitename .? ' . sprintf( ( 'You have an invitation to the group: "%s"', 'buddypress' ), $group->name );
To fix it I removed the quotes surrounding the %s
Change History (13)
#2
in reply to:
↑ 1
@
12 years ago
Replying to boonebgorges:
Out of the box config seems to be working OK for me. A couple of questions:
- Did you only upgrade BP? Did you also upgrade WP at the same time?
- Do you use any special plugins for outgoing mail, such as an SMTP plugin?
- Have you tested regular WP emails that may contain quotation marks in the subject lines? Comment moderation email, for example.
- Are you using a custom language pack?
Only upgraded BP.
No special plugins for mail.
Haven't tested WP itself.
No custom language pack.
#3
@
12 years ago
I just did a comment test, the WordPress notifications work fine with quotes in subject line so I'm convinced this is a BP issue.
#4
follow-up:
↓ 5
@
12 years ago
Is it only happening in the subject line, or is the same issue happening in the email content as well?
#5
in reply to:
↑ 4
@
12 years ago
Replying to boonebgorges:
Is it only happening in the subject line, or is the same issue happening in the email content as well?
The content works fine, the codes only appear in the subject line which makes me wonder if different email clients handle it differently.
I'm using gmail just fyi but it was working properly before the update.
#6
@
12 years ago
- Milestone changed from Awaiting Review to 1.6.1
I've run a number of diffs and searches on the 1.6 release to see what might have caused such a change, and I can't find anything. But given what you've described, it does sound likely that BP is causing the problem.
Putting in the 1.6.1 milestone for discussion by the dev team. If you manage to do any more debugging and come across any conclusions, please share them here.
#8
@
12 years ago
I'm having this issue too, as are several others, see this thread:
http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/ascii-characters-in-email/
Seems to have been an issue for a long time, when can we expect a fix?
Out of the box config seems to be working OK for me. A couple of questions: