From 70e83d28ffeb0f2d765baf478ac1842ba27eb207 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 15 Jan 2024 14:14:59 +0100 Subject: [PATCH 1/5] Add $schema to theme.json files --- src/wp-content/themes/twentytwentytwo/theme.json | 1 + src/wp-includes/theme.json | 1 + .../data/themedir1/block-theme-child-deprecated-path/theme.json | 1 + .../themedir1/block-theme-child-with-fluid-layout/theme.json | 1 + .../block-theme-child-with-fluid-typography-config/theme.json | 1 + .../themedir1/block-theme-child-with-fluid-typography/theme.json | 1 + tests/phpunit/data/themedir1/block-theme-child/theme.json | 1 + .../data/themedir1/block-theme-deprecated-path/theme.json | 1 + tests/phpunit/data/themedir1/block-theme-non-latin/theme.json | 1 + .../data/themedir1/block-theme-post-content-default/theme.json | 1 + tests/phpunit/data/themedir1/block-theme/theme.json | 1 + tests/phpunit/data/themedir1/block_theme-[0.4.0]/theme.json | 1 + tests/phpunit/data/themedir1/empty-fontface-theme/theme.json | 1 + tests/phpunit/data/themedir1/fonts-block-theme/theme.json | 1 + .../phpunit/data/themedir1/subdir/block_theme-[1.0.0]/theme.json | 1 + 15 files changed, 15 insertions(+) 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/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/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/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": { From 0b23ce9362bdd8ec53f30bb201af4426beb3e7db Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 15 Jan 2024 14:16:58 +0100 Subject: [PATCH 2/5] Add $schema to block.json --- src/wp-includes/blocks/legacy-widget/block.json | 1 + src/wp-includes/blocks/widget-group/block.json | 1 + tests/phpunit/data/blocks/hooked-block-error/block.json | 1 + tests/phpunit/data/blocks/notice/block.json | 1 + .../themedir1/block-theme-child/blocks/example-block/block.json | 1 + .../blocks/hooked-after/block.json | 1 + .../blocks/hooked-before/block.json | 1 + .../blocks/hooked-first-child/block.json | 1 + .../blocks/hooked-last-child/block.json | 1 + .../data/themedir1/block-theme/blocks/example-block/block.json | 1 + 10 files changed, 10 insertions(+) diff --git a/src/wp-includes/blocks/legacy-widget/block.json b/src/wp-includes/blocks/legacy-widget/block.json index 6b0c1e2a916fd..a03eb090633fc 100644 --- a/src/wp-includes/blocks/legacy-widget/block.json +++ b/src/wp-includes/blocks/legacy-widget/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/legacy-widget", "title": "Legacy Widget", diff --git a/src/wp-includes/blocks/widget-group/block.json b/src/wp-includes/blocks/widget-group/block.json index c29e811554ac1..0e59e58aca224 100644 --- a/src/wp-includes/blocks/widget-group/block.json +++ b/src/wp-includes/blocks/widget-group/block.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/widget-group", "category": "widgets", 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/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-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..89c100b8beba4 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,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "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..7ec72c41e1392 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,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "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..75ab783071a3f 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,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "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..e74dbdcdf6f4b 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,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "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", From 605ed150aeff53a2961784c420fa3687e51c8b97 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 15 Jan 2024 14:24:48 +0100 Subject: [PATCH 3/5] Fix test schemas (missing title in block.json) --- .../blocks/hooked-after/block.json | 1 + .../blocks/hooked-before/block.json | 1 + .../blocks/hooked-first-child/block.json | 1 + .../blocks/hooked-last-child/block.json | 1 + 4 files changed, 4 insertions(+) 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 89c100b8beba4..75c31a4661f98 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,5 +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 7ec72c41e1392..b808ed979be6c 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,5 +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 75ab783071a3f..a1476d12de699 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,5 +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 e74dbdcdf6f4b..09f5a81de9878 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,5 +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" From 5e41f4ea6f45cde2f5cf64de68a379cf19013b63 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 15 Jan 2024 16:57:06 +0100 Subject: [PATCH 4/5] Revert changes to wp-includes/blocks --- src/wp-includes/blocks/legacy-widget/block.json | 1 - src/wp-includes/blocks/widget-group/block.json | 1 - 2 files changed, 2 deletions(-) diff --git a/src/wp-includes/blocks/legacy-widget/block.json b/src/wp-includes/blocks/legacy-widget/block.json index a03eb090633fc..6b0c1e2a916fd 100644 --- a/src/wp-includes/blocks/legacy-widget/block.json +++ b/src/wp-includes/blocks/legacy-widget/block.json @@ -1,5 +1,4 @@ { - "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/legacy-widget", "title": "Legacy Widget", diff --git a/src/wp-includes/blocks/widget-group/block.json b/src/wp-includes/blocks/widget-group/block.json index 0e59e58aca224..c29e811554ac1 100644 --- a/src/wp-includes/blocks/widget-group/block.json +++ b/src/wp-includes/blocks/widget-group/block.json @@ -1,5 +1,4 @@ { - "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/widget-group", "category": "widgets", From 126b31bf0dc64ae3f8a017bb015346f92ea9a739 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Tue, 23 Jan 2024 12:29:54 +0100 Subject: [PATCH 5/5] Tweak test hooked block titles --- .../blocks/hooked-after/block.json | 2 +- .../blocks/hooked-before/block.json | 2 +- .../blocks/hooked-first-child/block.json | 2 +- .../blocks/hooked-last-child/block.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 75c31a4661f98..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,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "title": "Hooked Block After", + "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 b808ed979be6c..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,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "title": "Hooked Block Before", + "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 a1476d12de699..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,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "title": "Hooked Block First Child", + "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 09f5a81de9878..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,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "title": "Hooked Block Last Child", + "title": "Hooked Block (last child)", "name": "tests/hooked-last-child", "blockHooks": { "core/comment-template": "lastChild"