• 1.1.10 58bbd5164f

    Release version 1.1.10 - Complete function redeclaration fix

    magdev released this 2025-12-22 17:45:05 +00:00 | 72 commits to main since this release

    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

    Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

    Downloads