From b9e083e3608176cc7d38626b5c0a9039e9fea86f Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Wed, 13 Jan 2016 02:54:33 +0000 Subject: [PATCH] Add missing HTTP status code descriptions (specifically 308 and 421.) Props kraftbj. Fixes 35336. git-svn-id: https://develop.svn.wordpress.org/trunk@36274 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index c049638e0d..db38c6d65d 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -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',