Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#6744 closed enhancement (fixed)

Improve filters for "new_user_email"

Reported by: wpdennis Owned by: DJPaul
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: Settings Keywords: dev-feedback has-patch needs-testing
Cc: mail@…

Description

If a member changes his email address 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.
  1. 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.

Attachments (1)

bp-settings-actions.php.patch (2.1 KB) - added by wpdennis 4 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
4 years ago

  • Milestone changed from Awaiting Review to 2.5
  • Owner set to DJPaul
  • Status changed from new to assigned

I'm working on overhauling the emails in 2.5 which, amongst other things, will add filters for this. If for some reason the work doesn't get finished in time, I'll add this patch. More info in #6592

#2 @DJPaul
4 years ago

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

This has been resolved by the email changes in #6592 which add features mentioned in this ticket.

Note: See TracTickets for help on using tickets.