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:
parent
6e39468def
commit
aed08a0f25
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue