WP Multisite + Domain Mapping = global $current_site isn´t works (2 posts)

  1. superteia
    Posted 4 years ago #

    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

    I found the some bug here: http://core.trac.wordpress.org/ticket/14965
    Help me!! (sorry my english)

  2. Ron Rennick
    MultiSite Guru
    Posted 4 years ago #

    I'll put that on the list for the next version of DM.

Topic Closed

This topic has been closed to new replies.

About this Topic