[buddypress-trac] [BuddyPress Trac] #6592: Email API and customisation features
buddypress-trac
noreply at wordpress.org
Wed Feb 3 19:55:30 UTC 2016
#6592: Email API and customisation features
------------------------------+-----------------------
Reporter: DJPaul | Owner: DJPaul
Type: idea | Status: assigned
Priority: normal | Milestone: 2.5
Component: Component - Core | Version:
Severity: normal | Resolution:
Keywords: |
------------------------------+-----------------------
Comment (by djpaul):
In [changeset:"10500"]:
{{{
#!CommitTicketReference repository="" revision="10500"
Emails: un-deprecate `bp_activity_sent_mention_email` action.
All functions where we send an email trigger a final action after the
email's sent. The recent changes for BP 2.5's email overhaul moved all of
these into the 2.5 backwards compatibility file, which is triggered by the
new "email sent" actions and filters in `bp_send_email()`.
Subsequent investigation of all similar actions revealed that only
`bp_activity_sent_mention_email` had core functions hooked to it. Also,
`bp_activity_sent_mention_email` was the only action hook that *always*
triggered -- the other similar actions did not trigger if the recipient
had chosen to disable email notifications. This change moves the action
back into its original location, fixing unit tests and notification
functionality, but it does not pass the subject/content/message arguments
to the action as we no longer have access to those outside of an
`BP_Email` instance.
Follow-up is required to ensure the 2.5 backwards compatibility code is
being loaded correctly, or if this was some quirk of our unit test
environment.
See #6592
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6592#comment:87>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list