[buddypress-trac] [BuddyPress Trac] #6744: Improve filters for "new_user_email"
buddypress-trac
noreply at wordpress.org
Fri Nov 20 14:06:07 UTC 2015
#6744: Improve filters for "new_user_email"
-------------------------+-------------------------------------------------
Reporter: wpdennis | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - | Version:
Settings | Keywords: dev-feedback has-patch needs-
Severity: normal | testing
-------------------------+-------------------------------------------------
If a member changes his email address
[https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-settings
/bp-settings-actions.php#L26 bp_settings_action_general()] will send an
email with a verification link. I have two enhancements I'd like to
suggest:
1. It would be nice to have a filter for the subject of this email.
2. It would be helpful to have the activation link as a paramter for
''"bp_new_user_email_content"''.
If I filter the content, I have to recreate the hash which would fail if
the hash logic in buddypress should ever change. Most email filters have
something like ''"$settings_link"'' as argument, which is very helpful.
Adding ''"$verification_link"'' would be useful here to avoid errors in
the future.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6744>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list