Opened 15 years ago
Closed 15 years ago
#12851 closed defect (bug) (fixed)
Change $from_name when sending out email with MS
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | high |
Severity: | normal | Version: | |
Component: | Multisite | Keywords: | |
Focuses: | Cc: |
Description
For MS setup, set $from_name to the site_name
In pluggable.php
Change:
$from_name = 'WordPress';
To:
$from_name = get_site_option( "site_name" ) == ? 'WordPress' : esc_html( get_site_option( "site_name" ) );
Change History (6)
#2
follow-up:
↓ 5
@
15 years ago
It is right for all sent mail except for forgotten password, where I saw this.
Note: See
TracTickets for help on using
tickets.
We should attach an MS filter to wp_mail_from_name. Surprised we don't already have that. We do have it for the email address itself:
In ms-default-filters:
In ms-functions: