From d68dabcc8eb7b3b275e7ccad357ccc3a6e5f5403 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 20:01:06 +0200 Subject: [PATCH 1/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.71 to 3.3.72 (#115) Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.71 to 3.3.72. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.71...v3.3.72) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.72 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 584f714..00d3a0e 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.71", + "version": "3.3.72", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "cd7acfc0b01b8d5712736aa3721d689591ced991" + "reference": "66036fa0ef8168f7e5a3f7bf06dc88733e1d46db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/cd7acfc0b01b8d5712736aa3721d689591ced991", - "reference": "cd7acfc0b01b8d5712736aa3721d689591ced991", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/66036fa0ef8168f7e5a3f7bf06dc88733e1d46db", + "reference": "66036fa0ef8168f7e5a3f7bf06dc88733e1d46db", "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.71" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.72" }, - "time": "2026-11-04T20:22:53+00:00" + "time": "2026-11-06T13:01:52+00:00" } ], "packages-dev": [ From 1bf7fc80587a2dc5dce234665820a3180ce2a20c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 20:00:57 +0200 Subject: [PATCH 2/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.72 to 3.3.73 (#125) Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.72 to 3.3.73. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.72...v3.3.73) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.73 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 00d3a0e..336c75e 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.72", + "version": "3.3.73", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "66036fa0ef8168f7e5a3f7bf06dc88733e1d46db" + "reference": "f242bafc4d216bcb1957d800bf9bde679514d137" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/66036fa0ef8168f7e5a3f7bf06dc88733e1d46db", - "reference": "66036fa0ef8168f7e5a3f7bf06dc88733e1d46db", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f242bafc4d216bcb1957d800bf9bde679514d137", + "reference": "f242bafc4d216bcb1957d800bf9bde679514d137", "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.72" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.73" }, - "time": "2026-11-06T13:01:52+00:00" + "time": "2026-11-25T13:44:47+00:00" } ], "packages-dev": [ From 700d945c8ce86fbfff587b582aea18050818be00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Nov 2026 14:01:11 +0200 Subject: [PATCH 3/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.73 to 3.3.74 (#126) Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.73 to 3.3.74. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.73...v3.3.74) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-version: 3.3.74 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 336c75e..a6f751a 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.73", + "version": "3.3.74", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "f242bafc4d216bcb1957d800bf9bde679514d137" + "reference": "3131818293a5c08105d443fa7c476cfe339b0299" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f242bafc4d216bcb1957d800bf9bde679514d137", - "reference": "f242bafc4d216bcb1957d800bf9bde679514d137", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/3131818293a5c08105d443fa7c476cfe339b0299", + "reference": "3131818293a5c08105d443fa7c476cfe339b0299", "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.73" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.74" }, - "time": "2026-11-25T13:44:47+00:00" + "time": "2026-11-27T08:23:44+00:00" } ], "packages-dev": [ From 49d2a97faecf45dd0ed9828c7d6a9af912b2601f Mon Sep 17 00:00:00 2001 From: Girish Panchal <79647963+girishpanchal30@users.noreply.github.com> Date: Fri, 4 Dec 2026 18:31:40 +0530 Subject: [PATCH 4/4] fix: enhance inserter notice handling for block patterns (#127) --- assets/js/src/components/DesignPackNotice.js | 37 ++++++++++++++++---- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/assets/js/src/components/DesignPackNotice.js b/assets/js/src/components/DesignPackNotice.js index d9afc33..4597522 100644 --- a/assets/js/src/components/DesignPackNotice.js +++ b/assets/js/src/components/DesignPackNotice.js @@ -2,6 +2,7 @@ import { useSelect } from '@wordpress/data'; import { Icon, closeSmall } from '@wordpress/icons'; import { useEffect, useState } from '@wordpress/element'; +import { __ } from '@wordpress/i18n'; const logo = ( ); +// WP < 6.8 id; 6.8+ shares 'inserter-notice' with other inserter snackbars. const BLOCK_PATTERN_INSERTED_NOTICE = 'block-pattern-inserted-notice'; +const INSERTER_NOTICE = 'inserter-notice'; + +const isPatternInsertedNotice = ( notice ) => { + if ( notice.id === BLOCK_PATTERN_INSERTED_NOTICE ) { + return true; + } + + if ( notice.id !== INSERTER_NOTICE || typeof notice.content !== 'string' ) { + return false; + } + + // Core's wording before and after its rename (6.9 → 7.1). + return [ + /* translators: %s: block pattern title. */ + __( 'Block pattern "%s" inserted.' ), + /* translators: %s: block pattern title. */ + __( 'Pattern "%s" inserted.' ), + ].some( ( template ) => { + const [ before, after = '' ] = template.split( /%(?:\d+\$)?s/ ); + + return ( + notice.content.startsWith( before ) && + notice.content.endsWith( after ) + ); + } ); +}; + export default () => { const [ dismissed, setDismissed ] = useState( false ); const [ noticeTriggered, setNoticeTriggered ] = useState( false ); - const patternInserted = useSelect( - ( select ) => - select( 'core/notices' ) - .getNotices() - .filter( ( n ) => n.id === BLOCK_PATTERN_INSERTED_NOTICE ) - .length > 0 + const patternInserted = useSelect( ( select ) => + select( 'core/notices' ).getNotices().some( isPatternInsertedNotice ) ); useEffect( () => {