mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
dea447f04c
commit
5036a79e73
@ -994,6 +994,7 @@ function get_status_header_desc( $code ) {
|
|||||||
305 => 'Use Proxy',
|
305 => 'Use Proxy',
|
||||||
306 => 'Reserved',
|
306 => 'Reserved',
|
||||||
307 => 'Temporary Redirect',
|
307 => 'Temporary Redirect',
|
||||||
|
308 => 'Permanent Redirect',
|
||||||
|
|
||||||
400 => 'Bad Request',
|
400 => 'Bad Request',
|
||||||
401 => 'Unauthorized',
|
401 => 'Unauthorized',
|
||||||
@ -1014,6 +1015,7 @@ function get_status_header_desc( $code ) {
|
|||||||
416 => 'Requested Range Not Satisfiable',
|
416 => 'Requested Range Not Satisfiable',
|
||||||
417 => 'Expectation Failed',
|
417 => 'Expectation Failed',
|
||||||
418 => 'I\'m a teapot',
|
418 => 'I\'m a teapot',
|
||||||
|
421 => 'Misdirected Request',
|
||||||
422 => 'Unprocessable Entity',
|
422 => 'Unprocessable Entity',
|
||||||
423 => 'Locked',
|
423 => 'Locked',
|
||||||
424 => 'Failed Dependency',
|
424 => 'Failed Dependency',
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user