diff --git a/src/wp-content/themes/twentytwentytwo/theme.json b/src/wp-content/themes/twentytwentytwo/theme.json index 41ffb72d98cbd..ec9ff8644e4af 100644 --- a/src/wp-content/themes/twentytwentytwo/theme.json +++ b/src/wp-content/themes/twentytwentytwo/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "customTemplates": [ { diff --git a/src/wp-includes/theme.json b/src/wp-includes/theme.json index f2690bd44dfeb..d9ed47816c95c 100644 --- a/src/wp-includes/theme.json +++ b/src/wp-includes/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "settings": { "appearanceTools": false, diff --git a/tests/phpunit/data/blocks/hooked-block-error/block.json b/tests/phpunit/data/blocks/hooked-block-error/block.json index 346c43b5b374a..fdbafa980dda8 100644 --- a/tests/phpunit/data/blocks/hooked-block-error/block.json +++ b/tests/phpunit/data/blocks/hooked-block-error/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "name": "tests/hooked-block-error", "description": "A block that throws an error because it tries to hook a block to itself.", "blockHooks": { diff --git a/tests/phpunit/data/blocks/notice/block.json b/tests/phpunit/data/blocks/notice/block.json index 909137252a1bc..c72c25c6df428 100644 --- a/tests/phpunit/data/blocks/notice/block.json +++ b/tests/phpunit/data/blocks/notice/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "tests/notice", "title": "Notice", diff --git a/tests/phpunit/data/themedir1/block-theme-child-deprecated-path/theme.json b/tests/phpunit/data/themedir1/block-theme-child-deprecated-path/theme.json index 38fcb1d9dd65c..1be2ba0116b67 100644 --- a/tests/phpunit/data/themedir1/block-theme-child-deprecated-path/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-child-deprecated-path/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "settings": { "color": { diff --git a/tests/phpunit/data/themedir1/block-theme-child-with-fluid-layout/theme.json b/tests/phpunit/data/themedir1/block-theme-child-with-fluid-layout/theme.json index 6985da16c6063..710ec336df70b 100644 --- a/tests/phpunit/data/themedir1/block-theme-child-with-fluid-layout/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-child-with-fluid-layout/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "settings": { "appearanceTools": true, diff --git a/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography-config/theme.json b/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography-config/theme.json index 65ed480f20e16..dcd3745f1630c 100644 --- a/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography-config/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography-config/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "settings": { "appearanceTools": true, diff --git a/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography/theme.json b/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography/theme.json index 93234766eddd2..7b34524270295 100644 --- a/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-child-with-fluid-typography/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "settings": { "appearanceTools": true, diff --git a/tests/phpunit/data/themedir1/block-theme-child/blocks/example-block/block.json b/tests/phpunit/data/themedir1/block-theme-child/blocks/example-block/block.json index 419a332b587b6..3eb86f3f77660 100644 --- a/tests/phpunit/data/themedir1/block-theme-child/blocks/example-block/block.json +++ b/tests/phpunit/data/themedir1/block-theme-child/blocks/example-block/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "title": "Example Theme Block", "name": "block-theme/example-block", diff --git a/tests/phpunit/data/themedir1/block-theme-child/theme.json b/tests/phpunit/data/themedir1/block-theme-child/theme.json index 90fe35e758b45..6a13dbd43ab24 100644 --- a/tests/phpunit/data/themedir1/block-theme-child/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-child/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "settings": { "color": { diff --git a/tests/phpunit/data/themedir1/block-theme-deprecated-path/theme.json b/tests/phpunit/data/themedir1/block-theme-deprecated-path/theme.json index 38fcb1d9dd65c..1be2ba0116b67 100644 --- a/tests/phpunit/data/themedir1/block-theme-deprecated-path/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-deprecated-path/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "settings": { "color": { diff --git a/tests/phpunit/data/themedir1/block-theme-non-latin/theme.json b/tests/phpunit/data/themedir1/block-theme-non-latin/theme.json index f0c59a63ab281..855a48a8ccf37 100644 --- a/tests/phpunit/data/themedir1/block-theme-non-latin/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-non-latin/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "settings": { "color": { diff --git a/tests/phpunit/data/themedir1/block-theme-post-content-default/theme.json b/tests/phpunit/data/themedir1/block-theme-post-content-default/theme.json index 781d5ed669558..2a9533972ff9f 100644 --- a/tests/phpunit/data/themedir1/block-theme-post-content-default/theme.json +++ b/tests/phpunit/data/themedir1/block-theme-post-content-default/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "title": "Block theme", "settings": { diff --git a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-after/block.json b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-after/block.json index c9c49a5296d9e..2e66adecc4fee 100644 --- a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-after/block.json +++ b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-after/block.json @@ -1,4 +1,6 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", + "title": "Hooked Block (after)", "name": "tests/hooked-after", "blockHooks": { "core/post-content": "after" diff --git a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-before/block.json b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-before/block.json index 5fbe3e43c4a51..800a005ccef80 100644 --- a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-before/block.json +++ b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-before/block.json @@ -1,4 +1,6 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", + "title": "Hooked Block (before)", "name": "tests/hooked-before", "blockHooks": { "core/navigation": "before" diff --git a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-first-child/block.json b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-first-child/block.json index b45c292b799cc..ae044d21ed19b 100644 --- a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-first-child/block.json +++ b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-first-child/block.json @@ -1,4 +1,6 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", + "title": "Hooked Block (first child)", "name": "tests/hooked-first-child", "blockHooks": { "core/comments": "firstChild" diff --git a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-last-child/block.json b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-last-child/block.json index 188c173db0b99..8e602902aff84 100644 --- a/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-last-child/block.json +++ b/tests/phpunit/data/themedir1/block-theme-with-hooked-blocks/blocks/hooked-last-child/block.json @@ -1,4 +1,6 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", + "title": "Hooked Block (last child)", "name": "tests/hooked-last-child", "blockHooks": { "core/comment-template": "lastChild" diff --git a/tests/phpunit/data/themedir1/block-theme/blocks/example-block/block.json b/tests/phpunit/data/themedir1/block-theme/blocks/example-block/block.json index 419a332b587b6..3eb86f3f77660 100644 --- a/tests/phpunit/data/themedir1/block-theme/blocks/example-block/block.json +++ b/tests/phpunit/data/themedir1/block-theme/blocks/example-block/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "title": "Example Theme Block", "name": "block-theme/example-block", diff --git a/tests/phpunit/data/themedir1/block-theme/theme.json b/tests/phpunit/data/themedir1/block-theme/theme.json index 982ad8ca39f0e..06d1c44c1353e 100644 --- a/tests/phpunit/data/themedir1/block-theme/theme.json +++ b/tests/phpunit/data/themedir1/block-theme/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "title": "Block theme", "settings": { diff --git a/tests/phpunit/data/themedir1/block_theme-[0.4.0]/theme.json b/tests/phpunit/data/themedir1/block_theme-[0.4.0]/theme.json index 38fcb1d9dd65c..1be2ba0116b67 100644 --- a/tests/phpunit/data/themedir1/block_theme-[0.4.0]/theme.json +++ b/tests/phpunit/data/themedir1/block_theme-[0.4.0]/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "settings": { "color": { diff --git a/tests/phpunit/data/themedir1/empty-fontface-theme/theme.json b/tests/phpunit/data/themedir1/empty-fontface-theme/theme.json index a9f1cb5080ade..92b16631120f8 100644 --- a/tests/phpunit/data/themedir1/empty-fontface-theme/theme.json +++ b/tests/phpunit/data/themedir1/empty-fontface-theme/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "customTemplates": [ { diff --git a/tests/phpunit/data/themedir1/fonts-block-theme/theme.json b/tests/phpunit/data/themedir1/fonts-block-theme/theme.json index a8212b79e139d..a5d40da2b5bb2 100644 --- a/tests/phpunit/data/themedir1/fonts-block-theme/theme.json +++ b/tests/phpunit/data/themedir1/fonts-block-theme/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "settings": { "appearanceTools": true, diff --git a/tests/phpunit/data/themedir1/subdir/block_theme-[1.0.0]/theme.json b/tests/phpunit/data/themedir1/subdir/block_theme-[1.0.0]/theme.json index 38fcb1d9dd65c..1be2ba0116b67 100644 --- a/tests/phpunit/data/themedir1/subdir/block_theme-[1.0.0]/theme.json +++ b/tests/phpunit/data/themedir1/subdir/block_theme-[1.0.0]/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 1, "settings": { "color": {