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:
parent
6276e68c6c
commit
408db6120e
|
@ -40,6 +40,12 @@ class WP_Theme_JSON {
|
||||||
*/
|
*/
|
||||||
const ROOT_BLOCK_SELECTOR = 'body';
|
const ROOT_BLOCK_SELECTOR = 'body';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The sources of data this object can represent.
|
||||||
|
*
|
||||||
|
* @since 5.8.0
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
const VALID_ORIGINS = array(
|
const VALID_ORIGINS = array(
|
||||||
'core',
|
'core',
|
||||||
'theme',
|
'theme',
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue