From 5036a79e734d3251ea5a883c8bb80deea612c991 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Wed, 13 Jan 2016 02:55:26 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c049638e0d..db38c6d65d 100644 --- a/wp-includes/functions.php +++ b/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', diff --git a/wp-includes/version.php b/wp-includes/version.php index 1219af8aba..75571a78cc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.