Cannot log into admin if running IIS 5.0 (Windows 2000)
|Reported by:||tsimmons||Owned by:|
The problem stems from the wp_redirect() function in wp-includes/pluggable.php and started with WP 3.1.1.
If you revert the block of code that tests for $is_IIS to the previous version (see attached diff) you can log in. Otherwise, the cookie never gets set (a limitation of setting cookies and 302 redirects under Windows 2000) and you just keep getting redirected to the log in page.
This is probably not a good final fix, since Windows 2003 and later probably don't have this issue. But since I am running on a legacy server, this test must remain.