Hi,
I've setup a multisite network with a few subdomain sites.
When testing the lost password feature on one of the subdomain sites, lets call it site1.example.com, I received a password reset confirmation email with the following format:
Someone has asked to reset the password for the following site and username.
Username: johnsmith
To reset your password visit the following address, otherwise just ignore this email and nothing will happen.
http://example.com/wp-login.php?action=rp&key=2DuN9MGf8iaBQ4jYo6tZ&login=johnsmith
Note that it is defaulting to example.com instead of site1.example.com.
I noticed in wp-login.php that the message is formatted using network_site_url, so I simply changed it to site_url and I now get the correct subdomain links in the email... ie.
http://site1.example.com/wp-login.php?action=rp&key=2DuN9MGf8iaBQ4jYo6tZ&login=johnsmith
Is this a minor bug, or is the network site url used for some reason I'm not understanding? Is my simple fix correct, or is there some potential side effect I'm missing?