Changeset 4724
- Timestamp:
- 01/12/2007 09:41:48 PM (18 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions.php
r4709 r4724 2229 2229 $text = 'Gone'; 2230 2230 2231 @header("HTTP/1.1 $header $text"); 2231 if ( version_compare(php_version(), '4.3.0', '>=') ) 2232 @header("HTTP/1.1 $header $text", true, $header); 2233 else 2234 @header("HTTP/1.1 $header $text"); 2232 2235 } 2233 2236 -
trunk/wp-includes/functions.php
r4684 r4724 817 817 $text = 'Gone'; 818 818 819 // if ( substr(php_sapi_name(), 0, 3) == 'cgi' ) 819 if ( version_compare(php_version(), '4.3.0', '>=') ) 820 @header("HTTP/1.1 $header $text", true, $header); 821 else 820 822 @header("HTTP/1.1 $header $text"); 821 // else822 // @header("Status: $header $text");823 823 } 824 824
Note: See TracChangeset
for help on using the changeset viewer.