[wp-trac] [WordPress Trac] #12851: Change $from_name when sending out email with MS

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 5 03:33:27 UTC 2010


#12851: Change $from_name when sending out email with MS
-------------------------+--------------------------------------------------
 Reporter:  bloggus      |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  high         |   Milestone:  3.0
Component:  Multisite    |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
 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" ) );

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12851>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list