WordPress multisito correzione reimpostazione della password

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

 

 

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *