[wp-trac] [WordPress Trac] #17186: Cannot log into admin if running IIS 5.0 (Windows 2000)

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 20 02:40:09 UTC 2011


#17186: Cannot log into admin if running IIS 5.0 (Windows 2000)
--------------------------+------------------------------
 Reporter:  tsimmons      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  critical      |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dd32):

 In your case, You can work around it by putting a cutdown version of
 wp_redirect() into your wp-config.php or a mu-plugin:

 {{{
 function wp_redirect($location) {
         $location = apply_filters('wp_redirect', $location, $status);

         if ( !$location ) // allows the wp_redirect filter to cancel a
 redirect
                 return false;

         $location = wp_sanitize_redirect($location);

         header("Refresh: 0;url=$location");
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17186#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list