Make WordPress Core


Ignore:
Timestamp:
03/05/2014 10:00:29 PM (10 years ago)
Author:
johnbillion
Message:

Update the list of HTTP status code descriptions. Fixes #16914. Props sirzooro and hakre for the original patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r27344 r27422  
    865865            416 => 'Requested Range Not Satisfiable',
    866866            417 => 'Expectation Failed',
     867            418 => 'I\'m a teapot',
    867868            422 => 'Unprocessable Entity',
    868869            423 => 'Locked',
    869870            424 => 'Failed Dependency',
    870871            426 => 'Upgrade Required',
     872            428 => 'Precondition Required',
     873            429 => 'Too Many Requests',
     874            431 => 'Request Header Fields Too Large',
    871875
    872876            500 => 'Internal Server Error',
     
    878882            506 => 'Variant Also Negotiates',
    879883            507 => 'Insufficient Storage',
    880             510 => 'Not Extended'
     884            510 => 'Not Extended',
     885            511 => 'Network Authentication Required',
    881886        );
    882887    }
Note: See TracChangeset for help on using the changeset viewer.