You've already forked wc-tier-and-package-prices
Fixed critical function redeclaration error for wc_tpp_init() affecting version 1.1.9. This completes the fix started in v1.1.9 by protecting all global functions from redeclaration during plugin lifecycle events. Fixes: - Function redeclaration error for wc_tpp_init() - Fatal error "Cannot redeclare function wc_tpp_init()" when plugin file loaded multiple times - Plugin activation failures Technical Changes: - Wrapped wc_tpp_init() function in function_exists() check - Both wc_tpp_woocommerce_missing_notice() and wc_tpp_init() now safely guarded - Prevents fatal errors during WordPress plugin activation/deactivation cycles - Comprehensive protection for all global function declarations Updated Files: - wc-tier-and-package-prices.php (version 1.1.10, wc_tpp_init safety check) - composer.json (version 1.1.10) - CHANGELOG.md (v1.1.10 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>
4.0 KiB
4.0 KiB