HTTP API: Add a `WP_Http` class constant for the HTTP status code `301`.

Fixes #42490

Built from https://develop.svn.wordpress.org/trunk@42208


git-svn-id: http://core.svn.wordpress.org/trunk@42037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2017-11-20 20:54:49 +00:00
parent 6e39468def
commit aed08a0f25
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ class WP_Http {
const HTTP_CONTINUE = 100; const HTTP_CONTINUE = 100;
const SWITCHING_PROTOCOLS = 101; const SWITCHING_PROTOCOLS = 101;
const PROCESSING = 102; const PROCESSING = 102;
const EARLY_HINTS = 103;
const OK = 200; const OK = 200;
const CREATED = 201; const CREATED = 201;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-42207'; $wp_version = '5.0-alpha-42208';
/** /**
* 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.