Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Lost Password Redirects to https://wp-login.php/?checkemail=confirm #370
Submitting a valid email / username on this page:
Seems to be losing the hostname of the server. This only happens on our production server in Azure, it does not happen on locally run IIS. I'll provide more details later in a follow-up to this.
Just wanted to see if anyone else was experiencing the same issue.
Sorry I made a mistake in my initial report of this problem. I stated that the error did not happen on local IIS. However, that is not true. I'm getting the same problem on the local version as well. It was just that locally it was not allowed to send email and was instead giving the error "The email could not be sent. Possible reason: your host may have disabled the mail() function."
I'm testing more to figure out if I can narrow down when it does not get the hostname. So far I have tried putting in the wp-config.php definitions for DOMAIN_CURRENT_SITE, WP_HOME, WP_SITEURL
Thank you for your help. Are you able to replicate this issue?
Narrowed this down to line 1402 in wp-includes\pluggable.php
dirname on windows returns \ which makes the redirect location