Ticket #8226: 8226.diff
| File 8226.diff, 699 bytes (added by tenpura, 5 years ago) |
|---|
-
wp-includes/functions.php
1371 1371 $protocol = $_SERVER["SERVER_PROTOCOL"]; 1372 1372 if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol ) 1373 1373 $protocol = 'HTTP/1.0'; 1374 $status_header = "$protocol $header $text"; 1374 1375 if('cgi' == substr(strtolower(php_sapi_name()), 0, 3)) 1376 $status_header = "Status: $header $text"; 1377 else 1378 $status_header = "$protocol $header $text"; 1379 1375 1380 if ( function_exists( 'apply_filters' ) ) 1376 1381 $status_header = apply_filters( 'status_header', $status_header, $header, $text, $protocol ); 1377 1382
