diff --git a/CHANGELOG.md b/CHANGELOG.md index 36521bf..7fac4c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.7] - 2026-01-27 + +### Changed + +- Removed "Default" prefix from setting labels on Default Settings page for cleaner UI +- Labels now read "Max Activations", "License Validity (Days)", and "Bind to Major Version" + ## [0.5.6] - 2026-01-27 ### Fixed diff --git a/src/Admin/SettingsController.php b/src/Admin/SettingsController.php index 24e8679..476dc18 100644 --- a/src/Admin/SettingsController.php +++ b/src/Admin/SettingsController.php @@ -173,7 +173,7 @@ final class SettingsController 'id' => 'wc_licensed_product_section_defaults', ], 'default_max_activations' => [ - 'name' => __('Default Max Activations', 'wc-licensed-product'), + 'name' => __('Max Activations', 'wc-licensed-product'), 'type' => 'number', 'desc' => __('Default maximum number of domain activations per license.', 'wc-licensed-product'), 'id' => 'wc_licensed_product_default_max_activations', @@ -184,7 +184,7 @@ final class SettingsController ], ], 'default_validity_days' => [ - 'name' => __('Default License Validity (Days)', 'wc-licensed-product'), + 'name' => __('License Validity (Days)', 'wc-licensed-product'), 'type' => 'number', 'desc' => __('Default number of days a license is valid. Leave empty or set to 0 for lifetime licenses.', 'wc-licensed-product'), 'id' => 'wc_licensed_product_default_validity_days', @@ -196,7 +196,7 @@ final class SettingsController ], ], 'default_bind_to_version' => [ - 'name' => __('Default Bind to Major Version', 'wc-licensed-product'), + 'name' => __('Bind to Major Version', 'wc-licensed-product'), 'type' => 'checkbox', 'desc' => __('If enabled, licenses are bound to the major version at purchase time by default.', 'wc-licensed-product'), 'id' => 'wc_licensed_product_default_bind_to_version', diff --git a/wc-licensed-product.php b/wc-licensed-product.php index afffc0f..12308e8 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.5.6 + * Version: 0.5.7 * 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.5.6'); +define('WC_LICENSED_PRODUCT_VERSION', '0.5.7'); 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__));