You've already forked wc-tier-and-package-prices
Release version 1.1.11 - Complete redeclaration protection
Fixed critical constant redeclaration warnings/errors for all plugin constants affecting versions 1.1.3-1.1.10. This completes comprehensive protection against all redeclaration issues by protecting constants. Fixes: - Constant redeclaration warnings/errors for WC_TPP_VERSION, WC_TPP_PLUGIN_DIR, WC_TPP_PLUGIN_URL, WC_TPP_PLUGIN_BASENAME - Potential errors when plugin constants already defined - Plugin initialization failures caused by constant redeclaration Technical Changes: - Wrapped all define() calls in defined() checks - Protected WC_TPP_VERSION, WC_TPP_PLUGIN_DIR, WC_TPP_PLUGIN_URL, WC_TPP_PLUGIN_BASENAME - Prevents warnings/errors during WordPress plugin activation/deactivation cycles - Comprehensive protection: all global functions and constants now safely guarded - No more redeclaration issues possible Updated Files: - wc-tier-and-package-prices.php (version 1.1.11, all constants protected) - composer.json (version 1.1.11) - CHANGELOG.md (v1.1.11 section) - All translation files compiled (.mo files) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "magdev/wc-tier-package-prices",
|
||||
"description": "WooCommerce plugin for tier pricing and package prices with Twig templates",
|
||||
"version": "1.1.10",
|
||||
"version": "1.1.11",
|
||||
"type": "wordpress-plugin",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"authors": [
|
||||
|
||||
Reference in New Issue
Block a user