WordPress.org

Make WordPress Core

Changeset 4273


Ignore:
Timestamp:
10/03/2006 12:28:06 AM (12 years ago)
Author:
ryan
Message:

Don't do status_header for IIS. Props Mark Jaquith. fixes #3190

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/pluggable-functions.php

    r4253 r4273  
    267267    $location = str_replace($strip, '', $location);
    268268
    269     status_header($status);
    270 
    271     if ($is_IIS)
     269    if ( $is_IIS ) {
    272270        header("Refresh: 0;url=$location");
    273     else
     271    } else {
     272        status_header($status); // This causes problems on IIS
    274273        header("Location: $location");
     274    }
    275275}
    276276endif;
  • trunk/wp-includes/pluggable.php

    r4252 r4273  
    267267    $location = str_replace($strip, '', $location);
    268268
    269     status_header($status);
    270 
    271     if ($is_IIS)
     269    if ( $is_IIS ) {
    272270        header("Refresh: 0;url=$location");
    273     else
     271    } else {
     272        status_header($status); // This causes problems on IIS
    274273        header("Location: $location");
     274    }
    275275}
    276276endif;
Note: See TracChangeset for help on using the changeset viewer.