From 4725551b352e5fd8a69a405d7283bde8c658646e Mon Sep 17 00:00:00 2001 From: Proxiweb <208025616+ProxiwebLabs@users.noreply.github.com> Date: Mon, 28 Sep 2026 19:07:52 +0100 Subject: [PATCH] release: prepare WordPress plugin 1.0.1 --- .github/workflows/ci.yml | 2 +- languages/zipquantum-smart-links.pot | 2 +- readme.txt | 7 ++++++- tests/SmokeTest.php | 12 ++++++++++++ tests/blueprints/woocommerce-11.1.2.json | 24 ++++++++++++++++++++++++ zipquantum-smart-links.php | 4 ++-- 6 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 tests/blueprints/woocommerce-11.1.2.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c9475c..02d9234 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,7 +98,7 @@ jobs: strategy: fail-fast: false matrix: - blueprint: ["woocommerce-10.9.4.json", "woocommerce-11.0.1.json"] + blueprint: ["woocommerce-10.9.4.json", "woocommerce-11.0.1.json", "woocommerce-11.1.2.json"] steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 diff --git a/languages/zipquantum-smart-links.pot b/languages/zipquantum-smart-links.pot index 4f4594e..10aaff3 100644 --- a/languages/zipquantum-smart-links.pot +++ b/languages/zipquantum-smart-links.pot @@ -2,7 +2,7 @@ # This file is distributed under the GPL-2.0-or-later. msgid "" msgstr "" -"Project-Id-Version: ZipQuantum – Smart Links & QR Codes 1.0.0\n" +"Project-Id-Version: ZipQuantum – Smart Links & QR Codes 1.0.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/zipquantum-smart-links\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/readme.txt b/readme.txt index 96f5ba2..2683d42 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: smart links, deep links, qr code, woocommerce, marketing Requires at least: 6.9 Tested up to: 7.1 Requires PHP: 7.4 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -108,6 +108,11 @@ The plugin sends only the site and content information needed for the selected Z == Changelog == += 1.0.1 = + +* Make synchronization queue status labels fully translatable. +* Verify compatibility with WordPress 7.1 and WooCommerce 11.1. + = 1.0.0 = * Initial WordPress.org release. diff --git a/tests/SmokeTest.php b/tests/SmokeTest.php index 4fba201..7680ea7 100644 --- a/tests/SmokeTest.php +++ b/tests/SmokeTest.php @@ -17,6 +17,18 @@ public function test_main_plugin_file_has_frozen_identity(): void { $this->assertStringContainsString( 'License: GPL-2.0-or-later', $contents ); } + public function test_release_versions_are_aligned(): void { + $root = dirname( __DIR__ ); + $plugin = file_get_contents( $root . '/zipquantum-smart-links.php' ); + $readme = file_get_contents( $root . '/readme.txt' ); + $pot = file_get_contents( $root . '/languages/zipquantum-smart-links.pot' ); + + $this->assertMatchesRegularExpression( '/^ \* Version: 1\.0\.1$/m', $plugin ); + $this->assertStringContainsString( "ZIPQUANTUM_SMART_LINKS_VERSION', '1.0.1'", $plugin ); + $this->assertMatchesRegularExpression( '/^Stable tag: 1\.0\.1$/m', $readme ); + $this->assertStringContainsString( 'ZipQuantum – Smart Links & QR Codes 1.0.1', $pot ); + } + public function test_readme_discloses_external_service_and_no_tracking(): void { $contents = file_get_contents( dirname( __DIR__ ) . '/readme.txt' ); diff --git a/tests/blueprints/woocommerce-11.1.2.json b/tests/blueprints/woocommerce-11.1.2.json new file mode 100644 index 0000000..045a5f4 --- /dev/null +++ b/tests/blueprints/woocommerce-11.1.2.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "login": true, + "steps": [ + { + "step": "installPlugin", + "pluginData": { + "resource": "url", + "url": "https://downloads.wordpress.org/plugin/woocommerce.11.1.2.zip" + }, + "options": { + "activate": true + } + }, + { + "step": "activatePlugin", + "pluginPath": "/wordpress/wp-content/plugins/zipquantum-smart-links/zipquantum-smart-links.php" + }, + { + "step": "runPHP", + "code": "