WordPress multisite password reset fix

to fix the issue with the wrong URLs

http://www.site2.com forgot password links to

http://www.site1.com/wp-login.php?action=lostpassword
and not
http://www.site2.com/wp-login.php?action=lostpassword

the fix is:

you change on the most lines network_site_url -> site_url
wp-includes/general-template.php

should be

Also WordPress is generating the incorrect email in wp-login.php

should be

 

should be

 

should be

 

should be

 

should be

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *