You've already forked wc-tier-and-package-prices
-
Release version 1.2.9 - Translation and deletion fixes
released this
2025-12-30 04:04:34 +00:00 | 19 commits to main since this release-
Price Header Not Translated
- Fixed translation function placement in printf statements
- Changed from printf(()) to printf(esc_html())
- Headers now display in administrator's configured language
-
Placeholder HTML Entity Encoding
- Currency symbols were showing as HTML entities
- Removed translation filter from concatenated placeholder strings
- Placeholders now display currency symbols correctly
-
Variation Pricing Still Not Deletable (Regression)
- Edge cases remained from v1.2.8 fix due to conditional branching
- Refactored save logic to be more defensive
- Always initializes arrays then unconditionally updates or deletes
- Guarantees proper cleanup regardless of POST data structure
-
Updated all 6 table headers with esc_html__()
-
Removed |__() filter from Twig placeholder concatenations
-
Refactored save_variation_pricing_fields():
- Initialize and arrays at start
- Populate only if valid POST data exists
- Added is_array() check for extra safety
- Always perform update (if !empty) or delete (if empty)
-
includes/class-wc-tpp-product-meta.php
-
templates/admin/tier-row.twig
-
templates/admin/package-row.twig
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Downloads
-