I need to send emails (wp_mail function) with header “From:” according site active.
I used filters “wp_mail_from” and “wp_mail_from_name” for change the header with bloginfo, but the title use the global current_site, but not work..
wp-login.php (line 222)
if ( is_multisite() ) $blogname = $GLOBALS['current_site']->site_name; $title = sprintf( __('[%s] Password Reset'), $blogname );
WordPress Multisite 3.2.1 (sub directory install)
Wordpress MU Domain Mapping 0.5.4.1
I found the some bug here: http://core.trac.wordpress.org/ticket/14965
Help me!! (sorry my english)
- The topic ‘WP Multisite Domain Mapping = global $current_site isn´t works’ is closed to new replies.