Ticket #7361: status-header-2.diff
| File status-header-2.diff, 574 bytes (added by tenpura, 4 years ago) |
|---|
-
functions.php
1559 1559 if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol ) 1560 1560 $protocol = 'HTTP/1.0'; 1561 1561 $status_header = "$protocol $header $text"; 1562 1563 if( defined( 'CGI_STATUS_HEADER' ) && CGI_STATUS_HEADER === true ) 1564 $status_header = "Status: $header $text"; 1565 1562 1566 if ( function_exists( 'apply_filters' ) ) 1563 1567 $status_header = apply_filters( 'status_header', $status_header, $header, $text, $protocol ); 1564 1568
