Morden Toolkit v1.2.13: Critical Bug Fixes & Performance Improvements
🐛 Critical Bug Fixes
- Fixed WPConfigTransformer class redeclaration fatal error - Added proper class_exists() check to prevent fatal errors in environments where the class already exists
- Fixed PHP configuration block duplication in wp-config.php - Blocks are now properly replaced instead of being added repeatedly
- Fixed performance metrics calculation inconsistency - Implemented unified calculation logic between admin bar and details panel
- Fixed query count inconsistency - Unified counting logic for consistency across admin bar and performance monitor tabs
- Fixed JavaScript errors in Query Logs page - Resolved "Invalid Date" and "source-name Unknown" errors
- Fixed Scripts/Styles tab labels - Tab labels now show actual counts instead of placeholder %d
⚡ Performance Improvements
- Enhanced unified metrics calculation across all UI components for better consistency
- Improved backup system with automatic cleanup of old backup files
- Better error handling and fallback mechanisms throughout the codebase
- Enhanced query time tracking with database query time display
🔧 Technical Improvements
- Enhanced WPConfigTransformer integration with proper class existence checking
- Improved regex patterns for detecting and removing existing MT configuration blocks
- Better file path handling and validation throughout the codebase
- Enhanced JavaScript error handling in admin interface
- Updated WPConfigTransformer usage with proper parameter handling
📋 What's Changed
This release addresses all critical bugs found in the previous versions and significantly improves the reliability and performance of the Morden Toolkit plugin. All issues documented in BUGFOUND.md have been resolved.
🔗 Installation
Download the latest release and upload to your WordPress plugins directory, or install directly from the WordPress admin panel.
Full Changelog: v1.2.12...v1.2.13