From 1c6c17311b3400f0506f56d338b1bad36bf92d7c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 09:01:54 +0300 Subject: [PATCH 1/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.65 to 3.3.66 (#192) Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.65 to 3.3.66. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.65...v3.3.66) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.66 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index f5c6fba..bfbdcd2 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.65", + "version": "3.3.66", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "f650fe856d52ce4e5754557d89ba2f3127ad54d8" + "reference": "27e095d8357e0594cd5769222af1258538832e75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f650fe856d52ce4e5754557d89ba2f3127ad54d8", - "reference": "f650fe856d52ce4e5754557d89ba2f3127ad54d8", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/27e095d8357e0594cd5769222af1258538832e75", + "reference": "27e095d8357e0594cd5769222af1258538832e75", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.65" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.66" }, - "time": "2026-09-29T09:35:47+00:00" + "time": "2026-10-07T08:46:25+00:00" } ], "packages-dev": [ From 8311be92958290664177895642277dc438db1332 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 21:02:13 +0300 Subject: [PATCH 2/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.66 to 3.3.67 (#194) Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.66 to 3.3.67. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.66...v3.3.67) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.67 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index bfbdcd2..1eba3e1 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.66", + "version": "3.3.67", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "27e095d8357e0594cd5769222af1258538832e75" + "reference": "e1dda44811660a65c3da6994349c054a46686d69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/27e095d8357e0594cd5769222af1258538832e75", - "reference": "27e095d8357e0594cd5769222af1258538832e75", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/e1dda44811660a65c3da6994349c054a46686d69", + "reference": "e1dda44811660a65c3da6994349c054a46686d69", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.66" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.67" }, - "time": "2026-10-07T08:46:25+00:00" + "time": "2026-10-13T12:16:34+00:00" } ], "packages-dev": [ From c5c24bf8f10c852278aed1a1af3665757c894c62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 08:02:20 +0200 Subject: [PATCH 3/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.67 to 3.3.68 (#196) Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.67 to 3.3.68. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.67...v3.3.68) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.68 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 1eba3e1..841b986 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.67", + "version": "3.3.68", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "e1dda44811660a65c3da6994349c054a46686d69" + "reference": "8477d5100ffdddd316a3e51129d775d8854d8a77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/e1dda44811660a65c3da6994349c054a46686d69", - "reference": "e1dda44811660a65c3da6994349c054a46686d69", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/8477d5100ffdddd316a3e51129d775d8854d8a77", + "reference": "8477d5100ffdddd316a3e51129d775d8854d8a77", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.67" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.68" }, - "time": "2026-10-13T12:16:34+00:00" + "time": "2026-10-27T13:38:50+00:00" } ], "packages-dev": [ From a5f88be896b97fe11857d1c68d512cd9cb1458ca Mon Sep 17 00:00:00 2001 From: Girish Panchal <79647963+girishpanchal30@users.noreply.github.com> Date: Thu, 29 Oct 2026 07:31:46 +0530 Subject: [PATCH 4/4] fix: preserve queries in onboarding archives (#195) --- library/archive/archive-boxed.php | 2 +- library/archive/archive-cards.php | 2 +- library/archive/archive-rows.php | 2 +- tests/test-onboarding-templates.php | 55 +++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 tests/test-onboarding-templates.php diff --git a/library/archive/archive-boxed.php b/library/archive/archive-boxed.php index 85b0ae2..0fdab50 100644 --- a/library/archive/archive-boxed.php +++ b/library/archive/archive-boxed.php @@ -16,7 +16,7 @@ -
+
diff --git a/library/archive/archive-cards.php b/library/archive/archive-cards.php index e8b9594..23574dc 100644 --- a/library/archive/archive-cards.php +++ b/library/archive/archive-cards.php @@ -18,7 +18,7 @@ -
+
diff --git a/library/archive/archive-rows.php b/library/archive/archive-rows.php index d04a5fa..7dc664e 100644 --- a/library/archive/archive-rows.php +++ b/library/archive/archive-rows.php @@ -16,7 +16,7 @@ -
+
diff --git a/tests/test-onboarding-templates.php b/tests/test-onboarding-templates.php new file mode 100644 index 0000000..5df8163 --- /dev/null +++ b/tests/test-onboarding-templates.php @@ -0,0 +1,55 @@ +, innerBlocks: list>, innerHTML: string, innerContent: list} + */ + +class Test_Onboarding_Templates extends WP_UnitTestCase { + /** + * Onboarding archive templates must list the posts of the archive being viewed. + * + * @return void + */ + public function test_archive_templates_inherit_the_archive_query(): void { + $support = get_theme_support( 'otter-onboarding' ); + + /** @var array $archive_templates */ + $archive_templates = $support[0]['templates']['archive']; + + $this->assertNotEmpty( $archive_templates ); + + foreach ( $archive_templates as $slug => $template ) { + $queries = $this->find_query_blocks( parse_blocks( include $template['file'] ) ); + + $this->assertNotEmpty( $queries, $slug ); + + foreach ( $queries as $query ) { + $this->assertTrue( $query['attrs']['query']['inherit'], $slug ); + } + } + } + + /** + * Collect every Query block, including nested ones. + * + * @param list $blocks Parsed blocks. + * + * @return list + */ + private function find_query_blocks( array $blocks ): array { + $queries = array(); + + foreach ( $blocks as $block ) { + if ( 'core/query' === $block['blockName'] ) { + $queries[] = $block; + } + + $queries = array_merge( $queries, $this->find_query_blocks( $block['innerBlocks'] ) ); + } + + return $queries; + } +}