[wp-trac] [WordPress Trac] #16487: Bug wp_new_user_notification() when using it in multisite mode
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 8 09:04:08 UTC 2011
#16487: Bug wp_new_user_notification() when using it in multisite mode
-------------------------+-------------------------------------------------
Reporter: wp_user59 | Owner:
Type: defect | Status: new
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 3.0.5
Component: General | Keywords: pluggable, user notification, multi
Severity: normal | site
-------------------------+-------------------------------------------------
In the file "wp-includes/pluggable.php"
into the function named "wp_new_user_notification"
$blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
This is correct but, in mutisite mode,
that one return the site name where you are logged into, not the blogname
you are going to create.
$message .= wp_login_url() . "\r\n";
for example, i try to create test1.mynamesite.com
i'm logged on primarysite.mynamesite.com with my super admin account.
Into the mail i recieved, with "Your Username and password"
the url is "http://primarysite.mynamesite.com/wp_login.php"
it had to be "http://test1.mynamesite.com/wp_login.php".
In the other mail recieved with the complete message, acces code and url,
all is perfect, just in the mail when adding the user to the new site.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16487>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list