Docs: Document the VALID_ORIGINS constant in WP_Theme_JSON.

Follow-up to [51149].

See #52628.
Built from https://develop.svn.wordpress.org/trunk@51152


git-svn-id: http://core.svn.wordpress.org/trunk@50761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-06-15 11:25:08 +00:00
parent 6276e68c6c
commit 408db6120e
2 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,12 @@ class WP_Theme_JSON {
*/
const ROOT_BLOCK_SELECTOR = 'body';
/**
* The sources of data this object can represent.
*
* @since 5.8.0
* @var array
*/
const VALID_ORIGINS = array(
'core',
'theme',

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-beta1-51151';
$wp_version = '5.8-beta1-51152';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.