From bcb2e1257bfa7b1d957b7a650bd8f7e853b3074b Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Tue, 28 Oct 2025 09:43:19 +0000 Subject: [PATCH 1/4] chore(release): update changelog for v3.8.1 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b6fd46..bee60113 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog + +## [3.8.1] (2025-10-28) + +### Changed +* Improved file-based snippet handling for multisite installations to correctly map snippets to their site/table during flat-file sync. + +### Fixed +* Fixed multisite flat-file synchronization that could skip or mis-handle active snippets due to incorrect nested iteration. +* Ensured correct table detection when processing active snippets so they are written to the correct location on multisite setups. + ## [3.8.0] (2025-10-24) ### Added From 4a7cee850611969f1d47db2a37cf6ca3e305d921 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Tue, 28 Oct 2025 09:43:19 +0000 Subject: [PATCH 2/4] chore(release): update readme for v3.8.1 --- src/readme.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/readme.txt b/src/readme.txt index 6d75f233..bc326f13 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -107,6 +107,18 @@ You can report security bugs found in the source code of this plugin through the + += 3.8.1 (2025-10-28) = + +__Changed__ + +* Improved file-based snippet handling for multisite installations to correctly map snippets to their site/table during flat-file sync. + +__Fixed__ + +* Fixed multisite flat-file synchronization that could skip or mis-handle active snippets due to incorrect nested iteration. +* Ensured correct table detection when processing active snippets so they are written to the correct location on multisite setups. + = 3.8.0 (2025-10-24) = __Added__ From 4637730c3c793ea5016e31b7915bf42f17bd0898 Mon Sep 17 00:00:00 2001 From: code-snippets-bot <139164393+code-snippets-bot@users.noreply.github.com> Date: Tue, 28 Oct 2025 09:44:00 +0000 Subject: [PATCH 3/4] chore(release): bump version to v3.8.1 --- package-lock.json | 4 ++-- package.json | 2 +- src/code-snippets.php | 6 +++--- src/readme.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0e993b17..20faf68c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "code-snippets", - "version": "3.8.0", + "version": "3.8.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "code-snippets", - "version": "3.8.0", + "version": "3.8.1", "license": "GPL-2.0-or-later", "dependencies": { "@codemirror/fold": "^0.19.4", diff --git a/package.json b/package.json index f29669ba..fa95c3ed 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "code-snippets", "description": "Manage code snippets running on a WordPress-powered site through a graphical interface.", "homepage": "https://codesnippets.pro", - "version": "3.8.0", + "version": "3.8.1", "main": "src/dist/edit.js", "directories": { "test": "tests" diff --git a/src/code-snippets.php b/src/code-snippets.php index b1ebb98d..ece61d91 100644 --- a/src/code-snippets.php +++ b/src/code-snippets.php @@ -8,11 +8,11 @@ * License: GPL-2.0-or-later * License URI: license.txt * Text Domain: code-snippets - * Version: 3.8.0 + * Version: 3.8.1 * Requires PHP: 7.4 * Requires at least: 5.0 * - * @version 3.8.0 + * @version 3.8.1 * @package Code_Snippets * @author Shea Bunge * @copyright 2012-2024 Code Snippets Pro @@ -37,7 +37,7 @@ * * @const string */ - define( 'CODE_SNIPPETS_VERSION', '3.8.0' ); + define( 'CODE_SNIPPETS_VERSION', '3.8.1' ); /** * The full path to the main file of this plugin. diff --git a/src/readme.txt b/src/readme.txt index bc326f13..c7a34ff0 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -4,7 +4,7 @@ Donate link: https://codesnippets.pro Tags: code, snippets, multisite, php, css License: GPL-2.0-or-later License URI: license.txt -Stable tag: 3.8.0 +Stable tag: 3.8.1 Tested up to: 6.8.2 An easy, clean and simple way to enhance your site with code snippets. From 6164694c1e4b9debe6ab9a3f19d57a91cfbfa8a0 Mon Sep 17 00:00:00 2001 From: Code Snippets <139164393+code-snippets-bot@users.noreply.github.com> Date: Tue, 28 Oct 2025 11:46:53 +0200 Subject: [PATCH 4/4] fix: changelog --- CHANGELOG.md | 7 +------ src/readme.txt | 10 +--------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bee60113..72cd866f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,9 @@ # Changelog - ## [3.8.1] (2025-10-28) -### Changed -* Improved file-based snippet handling for multisite installations to correctly map snippets to their site/table during flat-file sync. - ### Fixed -* Fixed multisite flat-file synchronization that could skip or mis-handle active snippets due to incorrect nested iteration. -* Ensured correct table detection when processing active snippets so they are written to the correct location on multisite setups. +* Improved file-based snippet handling for multisite installations. ## [3.8.0] (2025-10-24) diff --git a/src/readme.txt b/src/readme.txt index c7a34ff0..a5643a9d 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -105,19 +105,11 @@ You can report security bugs found in the source code of this plugin through the == Changelog == - - - = 3.8.1 (2025-10-28) = -__Changed__ - -* Improved file-based snippet handling for multisite installations to correctly map snippets to their site/table during flat-file sync. - __Fixed__ -* Fixed multisite flat-file synchronization that could skip or mis-handle active snippets due to incorrect nested iteration. -* Ensured correct table detection when processing active snippets so they are written to the correct location on multisite setups. +* Improved file-based snippet handling for multisite installations. = 3.8.0 (2025-10-24) =