Version 2.1.5
Added automatic repair of incomplete settings during plugin updates to prevent "Missing Tier" warnings while preserving user customizations.
Problem:
- Plugin updates were not checking if settings were complete
- Users who had customized settings would see "Missing Tier I/II/Ambassador" warnings
- Settings were sometimes lost or corrupted during updates
Solution:
- Created cas_repair_incomplete_settings() function that:
- Performs deep merge of current settings with defaults
- Preserves all existing custom values
- Fills in only missing fields
- Updated activate() to call repair function on every update
- Existing customizations are now preserved while gaps are filled
This ensures settings are always complete without losing user preferences.