You've already forked wc-licensed-product
Remove Default prefix from settings labels (v0.5.7)
- Max Activations (was "Default Max Activations") - License Validity (Days) (was "Default License Validity (Days)") - Bind to Major Version (was "Default Bind to Major Version") Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [0.5.6] - 2026-01-27
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ final class SettingsController
|
|||||||
'id' => 'wc_licensed_product_section_defaults',
|
'id' => 'wc_licensed_product_section_defaults',
|
||||||
],
|
],
|
||||||
'default_max_activations' => [
|
'default_max_activations' => [
|
||||||
'name' => __('Default Max Activations', 'wc-licensed-product'),
|
'name' => __('Max Activations', 'wc-licensed-product'),
|
||||||
'type' => 'number',
|
'type' => 'number',
|
||||||
'desc' => __('Default maximum number of domain activations per license.', 'wc-licensed-product'),
|
'desc' => __('Default maximum number of domain activations per license.', 'wc-licensed-product'),
|
||||||
'id' => 'wc_licensed_product_default_max_activations',
|
'id' => 'wc_licensed_product_default_max_activations',
|
||||||
@@ -184,7 +184,7 @@ final class SettingsController
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
'default_validity_days' => [
|
'default_validity_days' => [
|
||||||
'name' => __('Default License Validity (Days)', 'wc-licensed-product'),
|
'name' => __('License Validity (Days)', 'wc-licensed-product'),
|
||||||
'type' => 'number',
|
'type' => 'number',
|
||||||
'desc' => __('Default number of days a license is valid. Leave empty or set to 0 for lifetime licenses.', 'wc-licensed-product'),
|
'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',
|
'id' => 'wc_licensed_product_default_validity_days',
|
||||||
@@ -196,7 +196,7 @@ final class SettingsController
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
'default_bind_to_version' => [
|
'default_bind_to_version' => [
|
||||||
'name' => __('Default Bind to Major Version', 'wc-licensed-product'),
|
'name' => __('Bind to Major Version', 'wc-licensed-product'),
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
'desc' => __('If enabled, licenses are bound to the major version at purchase time by default.', 'wc-licensed-product'),
|
'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',
|
'id' => 'wc_licensed_product_default_bind_to_version',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: WooCommerce Licensed Product
|
* Plugin Name: WooCommerce Licensed Product
|
||||||
* Plugin URI: https://src.bundespruefstelle.ch/magdev/wc-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.
|
* 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: Marco Graetsch
|
||||||
* Author URI: https://src.bundespruefstelle.ch/magdev
|
* Author URI: https://src.bundespruefstelle.ch/magdev
|
||||||
* License: GPL-2.0-or-later
|
* License: GPL-2.0-or-later
|
||||||
@@ -28,7 +28,7 @@ if (!defined('ABSPATH')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Plugin constants
|
// 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_FILE', __FILE__);
|
||||||
define('WC_LICENSED_PRODUCT_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
define('WC_LICENSED_PRODUCT_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
||||||
define('WC_LICENSED_PRODUCT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
define('WC_LICENSED_PRODUCT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
||||||
|
|||||||
Reference in New Issue
Block a user