bp_core_email_from_name_filter() is too aggressive
|Reported by:||r-a-y||Owned by:|
|Component:||Component - Core||Keywords:||needs-patch|
bp_core_email_from_name_filter() hooks onto 'wp_mail_from_name'.
This is a little too aggressive because other plugins that send emails like Gravity Forms will use a different 'From' name, but that won't be seen because of BP.
I'd like to propose that we ditch this function and add the fourth parameter to each wp_mail() call in the BP codebase so we can modify the email headers (like the 'From' name) there.