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:
15
CHANGELOG.md
15
CHANGELOG.md
@@ -5,6 +5,21 @@ All notable changes to WooCommerce Tier and Package Prices will be documented in
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.1.11] - 2025-12-22
|
||||
|
||||
### Fixed
|
||||
|
||||
- **CRITICAL:** Constant redeclaration warnings/errors for plugin constants affecting versions 1.1.3-1.1.10
|
||||
- Potential errors when plugin constants (WC_TPP_VERSION, WC_TPP_PLUGIN_DIR, etc.) already defined
|
||||
- Plugin initialization failures caused by constant redeclaration
|
||||
|
||||
### Technical Details
|
||||
|
||||
- Wrapped all `define()` calls in `defined()` checks for WC_TPP_VERSION, WC_TPP_PLUGIN_DIR, WC_TPP_PLUGIN_URL, WC_TPP_PLUGIN_BASENAME
|
||||
- Prevents warnings/errors during WordPress plugin activation/deactivation cycles
|
||||
- Completes comprehensive protection against all redeclaration issues
|
||||
- All global functions and constants now safely guarded
|
||||
|
||||
## [1.1.10] - 2025-12-22
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user