From 548b2ae8af23a4a71897bf95bbf3c90a55264168 Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 1 Feb 2026 13:53:37 +0100 Subject: [PATCH] Bump version to 0.7.3 Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 19 +++++++++++++++++++ wc-licensed-product.php | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 807ddab..e9a96a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.3] - 2026-02-01 + +### Fixed + +- **Docker Environment Support:** API Verification Secret now visible on customer licenses page in Docker environments + - Added `ResponseSigner::getServerSecret()` method to check multiple sources for server secret + - Checks PHP constant, `getenv()`, `$_ENV`, and `$_SERVER` in priority order + - Maintains full backward compatibility with standard WordPress installations + +### Changed + +- Updated `Plugin.php` to use `ResponseSigner::isSigningEnabled()` instead of direct constant check + +### Technical Details + +- Root cause: Docker WordPress setups using `wp-config-docker.php` with `getenv_docker()` don't always define PHP constants +- The environment variable was accessible but the constant wasn't being created +- New `getServerSecret()` method centralizes all server secret retrieval logic + ## [0.7.2] - 2026-01-29 ### Added diff --git a/wc-licensed-product.php b/wc-licensed-product.php index f324ffe..2abdb92 100644 --- a/wc-licensed-product.php +++ b/wc-licensed-product.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Licensed Product * Plugin URI: https://src.bundespruefstelle.ch/magdev/wc-licensed-product * Description: WooCommerce plugin to sell software products using license keys with domain-based validation. - * Version: 0.7.2 + * Version: 0.7.3 * Author: Marco Graetsch * Author URI: https://src.bundespruefstelle.ch/magdev * License: GPL-2.0-or-later @@ -28,7 +28,7 @@ if (!defined('ABSPATH')) { } // Plugin constants -define('WC_LICENSED_PRODUCT_VERSION', '0.7.2'); +define('WC_LICENSED_PRODUCT_VERSION', '0.7.3'); define('WC_LICENSED_PRODUCT_PLUGIN_FILE', __FILE__); define('WC_LICENSED_PRODUCT_PLUGIN_DIR', plugin_dir_path(__FILE__)); define('WC_LICENSED_PRODUCT_PLUGIN_URL', plugin_dir_url(__FILE__));