HTTP API: Add a unit test for `get_status_header_desc()`.

Props pbearne.
Fixes #46631.
Built from https://develop.svn.wordpress.org/trunk@46107


git-svn-id: http://core.svn.wordpress.org/trunk@45919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-14 14:54:56 +00:00
parent 42079f34a9
commit f9b87e88ba
2 changed files with 2 additions and 2 deletions

View File

@ -1250,7 +1250,7 @@ function wp( $query_vars = '' ) {
* @global array $wp_header_to_desc
*
* @param int $code HTTP status code.
* @return string Empty string if not found, or description if found.
* @return string Status description if found, an empty string otherwise.
*/
function get_status_header_desc( $code ) {
global $wp_header_to_desc;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-46106';
$wp_version = '5.3-alpha-46107';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.