You've already forked wc-licensed-product
Release v0.6.1 - UI improvements and bug fixes
- Fix admin license test popup showing empty product field - Display product name in bold in test license modal - Split auto-update settings into notification and auto-install options - Add filter functionality to customer account licenses page - Update translations (402 strings) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
52
CLAUDE.md
52
CLAUDE.md
@@ -34,7 +34,7 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w
|
||||
|
||||
### Version 0.7.0
|
||||
|
||||
*No planned features yet.*
|
||||
No changes planned at the moment
|
||||
|
||||
## Technical Stack
|
||||
|
||||
@@ -1732,3 +1732,53 @@ define('WC_LICENSE_DISABLE_AUTO_UPDATE', true);
|
||||
- Created release package: `releases/wc-licensed-product-0.6.0.zip` (1.1 MB)
|
||||
- SHA256: `171c8195c586b3b20bac4a806e2d698cdaaf15966e2fd6e1670ec39dac8ab027`
|
||||
- Tagged as `v0.6.0` and pushed to `main` branch
|
||||
|
||||
### 2026-01-27 - Version 0.6.1 - UI Improvements & Bug Fixes
|
||||
|
||||
**Overview:**
|
||||
|
||||
Bug fix and improvement release addressing admin license testing, auto-update settings, and customer license filtering.
|
||||
|
||||
**Implemented:**
|
||||
|
||||
- Filter functionality on customer account licenses page (filter by product or domain)
|
||||
- Split auto-update settings into "Enable Update Notifications" and "Automatically Install Updates"
|
||||
- WordPress `auto_update_plugin` filter integration for automatic installation
|
||||
|
||||
**Bug Fixes:**
|
||||
|
||||
- Fixed admin license test popup showing empty product field
|
||||
- Removed version field from test popup (version_id is only set for version-bound licenses)
|
||||
- `handleAjaxTestLicense()` now enriches response with product name
|
||||
|
||||
**Modified files:**
|
||||
|
||||
- `src/Admin/AdminController.php` - Enriched test license response with product name
|
||||
- `src/Admin/SettingsController.php` - Split auto-update settings, added static helper methods
|
||||
- `src/Update/PluginUpdateChecker.php` - Added `auto_update_plugin` filter, use new settings methods
|
||||
- `src/Frontend/AccountController.php` - Added filter functionality with `applyLicenseFilters()` method
|
||||
- `templates/frontend/licenses.html.twig` - Added filter form with product and domain dropdowns
|
||||
- `templates/admin/licenses.html.twig` - Removed version row from test license modal
|
||||
- `assets/css/frontend.css` - Added responsive styles for filter form
|
||||
- `languages/*` - Updated all translation files
|
||||
|
||||
**New methods in SettingsController:**
|
||||
|
||||
- `isUpdateNotificationEnabled()` - Check if update notifications are enabled
|
||||
- `isAutoInstallEnabled()` - Check if auto-install is enabled (requires notifications enabled)
|
||||
|
||||
**New methods in AccountController:**
|
||||
|
||||
- `applyLicenseFilters()` - Filter licenses by product ID and/or domain
|
||||
- `getFilterOptions()` - Get unique products and domains for filter dropdowns
|
||||
|
||||
**Technical notes:**
|
||||
|
||||
- Filter form uses GET parameters: `filter_product` and `filter_domain`
|
||||
- Auto-install setting is disabled (greyed out) when update notifications are disabled
|
||||
- License test popup now only shows Product and Expires fields (version removed)
|
||||
- Domain filter uses case-insensitive partial matching via `stripos()`
|
||||
|
||||
**Dependency Updates:**
|
||||
|
||||
- Updated `magdev/wc-licensed-product-client` from v0.2.0 to v0.2.1
|
||||
|
||||
Reference in New Issue
Block a user