You've already forked wc-tier-and-package-prices
-
Release version 1.1.15 - Fix duplicate settings page
released this
2025-12-22 18:39:20 +00:00 | 67 commits to main since this releaseFixed settings page appearing twice in WooCommerce settings due to double instantiation of WC_TPP_Settings class.
Issue:
- Settings page rendered twice on same page
- WC_TPP_Settings class instantiated twice: once automatically in settings file, once via admin class include
Fix:
- Removed conditional wrapper
if (class_exists('WC_TPP_Settings'))from settings return statement - Settings class now only instantiated when admin class includes the file via
return new WC_TPP_Settings(); - Restored v1.1.2 pattern for settings file
Files Modified:
- includes/class-wc-tpp-settings.php (simplified return statement)
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Downloads