- reorganized /inc directory structure for improved separation of concerns
- grouped files into customizer, utilities, and tools
- improved naming consistency across files (e.g. *-settings, template-tags, etc.)
- simplified functions.php includes for better readability and maintainability
- refactored Customizer structure
- extracted image optimizer settings from core-settings into dedicated module
- consolidated settings, UI logic, and styles into a single feature file
- improved naming consistency for hooks and functions
- standardized Image Optimizer admin tool
- renamed "Performance Tools" to "Image Optimizer" across UI and hooks
- updated admin page registration, callback names, and menu labels
- aligned AJAX nonce naming for consistency and clarity
- preserved all existing logic and behavior (no functional changes)
- improved overall code organization and long-term maintainability
no breaking changes
- Reorganized Customizer structure for improved clarity and maintainability
- Introduced consistent default values for all settings to ensure stable fallbacks
when no user preferences are defined
- Refactored scroll-driven TOC implementation:
- Optimized scroll handling using requestAnimationFrame
- Reduced layout thrashing and unnecessary DOM reads
- Improved heading detection logic (deterministic viewport trigger)
- Enhanced positioning logic (responsive alignment + sidebar awareness)
- Improved footer collision handling for more robust layout behavior
- Added optional IntersectionObserver-based TOC implementation:
- Event-driven alternative to scroll-based approach
- Currently not enabled by default
- May not be supported long-term due to less deterministic behavior
- General cleanup and internal consistency improvements
chore: bump version to 2.4.0