Opened 15 years ago
Closed 9 years ago
#1949 closed enhancement
Refactor notification emails
Reported by: | johnjamesjacoby | Owned by: | DJPaul |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: | johnjamesjacoby |
Description
Changeset r2697 added filters for wp_mail calls in BuddyPress. These filters don't fire until after the sprintf is already called, so they don't really work the way they're intended.
This patch now allows them to be filtered, and cleans up all of the notification code.
(This should probably be cleaned up further and turned into an API for 1.3.)
Attachments (1)
Change History (15)
#1
@
15 years ago
There are too many other unrelated changes in this patch to commit it this late in the game. For example the filter_kses calls need to stay on the content.
#3
@
15 years ago
- Milestone changed from 1.2 to Future Release
- Resolution fixed deleted
- Status changed from closed to reopened
- Type changed from defect to enhancement
Reopening as enhancement to improve this for future release
#5
@
15 years ago
- Milestone changed from Future Release to 1.2.1
It's a little complicated but it's a good patch for 1.2.1.
All the filter_kses and stripslashes calls were retained in the patch.
r2719 still doesn't let those values get filtered correctly, and the variables in the sprintf's can't be rearranged as it sits now.
#6
@
15 years ago
- Component set to Core
- Keywords has-patch needs-testing removed
I've started work looking at these again for a patch for 1.3
#8
@
14 years ago
- Milestone changed from 1.3 to 1.4
Bumping to 1.4 unless there is a patch out there that I don't know about.
#9
@
13 years ago
- Severity set to normal
DJPaul, I know you are still interested in revising BP emails, maybe building a proper API/templating system for them. Does that fall under this ticket?
#10
@
13 years ago
- Summary changed from [patch] Patch for fix for r2697 to Refactor notification emails
#11
@
13 years ago
- Milestone changed from 1.6 to Future Release
Yes, still keen. Bumping because not sure I have enough time to commit to a patch for 1.6. If anyone else wants to work on this, get in contact and I'll share my ideas :)
What you gonna do with all this patch? All this patch inside this ticket?