diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index b5d21285b6..0885440fcf 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -967,6 +967,9 @@ function wp( $query_vars = '' ) { * Retrieve the description for the HTTP status. * * @since 2.3.0 + * @since 3.9.0 Added status codes 418, 428, 429, 431, and 511. + * @since 4.5.0 Added status codes 308, 421, and 451. + * @since 5.0.0 Added status code 103. * * @global array $wp_header_to_desc * @@ -983,6 +986,7 @@ function get_status_header_desc( $code ) { 100 => 'Continue', 101 => 'Switching Protocols', 102 => 'Processing', + 103 => 'Early Hints', 200 => 'OK', 201 => 'Created',