Make WordPress Core

Changeset 4684


Ignore:
Timestamp:
01/06/2007 08:22:12 AM (20 years ago)
Author:
markjaquith
Message:

burn in Hades, status_header(), destroyer of souls. fixes #3528

Files:
2 edited

Legend:

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

    r4656 r4684  
    22292229                $text = 'Gone';
    22302230
    2231                 if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
     2231//              if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
    22322232                        @header("HTTP/1.1 $header $text");
    2233                 else
    2234                         @header("Status: $header $text");
     2233//              else
     2234//                      @header("Status: $header $text");
    22352235}
    22362236
  • trunk/wp-includes/functions.php

    r4657 r4684  
    817817                $text = 'Gone';
    818818
    819         if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
     819//      if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
    820820                @header("HTTP/1.1 $header $text");
    821         else
    822                 @header("Status: $header $text");
     821//      else
     822//              @header("Status: $header $text");
    823823}
    824824
Note: See TracChangeset for help on using the changeset viewer.