You've already forked wc-tier-and-package-prices
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>
113 B
113 B