WordPress.org

Make WordPress Core

Ticket #33689: load.php.patch

File load.php.patch, 630 bytes (added by jeichorn, 5 years ago)
Line 
1113a114,117
2>         $protocol = $_SERVER["SERVER_PROTOCOL"];
3>         if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
4>             $protocol = 'HTTP/1.0';
5>         header( "$protocol 500 Internal Server Error", true, 500 );
6120c124,128
7<                header( 'Content-Type: text/html; charset=utf-8' );
8---
9>         $protocol = $_SERVER["SERVER_PROTOCOL"];
10>         if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
11>             $protocol = 'HTTP/1.0';
12>         header( "$protocol 500 Internal Server Error", true, 500 );
13>               header( 'Content-Type: text/html; charset=utf-8' );