Add missing HTTP status code descriptions (specifically 308 and 421.)

Props kraftbj.
Fixes 35336.

Built from https://develop.svn.wordpress.org/trunk@36274


git-svn-id: http://core.svn.wordpress.org/trunk@36241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe Hoyle 2016-01-13 02:55:26 +00:00
parent dea447f04c
commit 5036a79e73
2 changed files with 3 additions and 1 deletions

View File

@ -994,6 +994,7 @@ function get_status_header_desc( $code ) {
305 => 'Use Proxy',
306 => 'Reserved',
307 => 'Temporary Redirect',
308 => 'Permanent Redirect',
400 => 'Bad Request',
401 => 'Unauthorized',
@ -1014,6 +1015,7 @@ function get_status_header_desc( $code ) {
416 => 'Requested Range Not Satisfiable',
417 => 'Expectation Failed',
418 => 'I\'m a teapot',
421 => 'Misdirected Request',
422 => 'Unprocessable Entity',
423 => 'Locked',
424 => 'Failed Dependency',

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36273';
$wp_version = '4.5-alpha-36274';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.