Morden Toolkit v1.2.15: Visual Bug Fixes
馃悰 Critical UI Bug Fixes
Toggle Button Interaction Issues Resolved:
- Fixed debug mode toggle button not clickable - The main debug mode toggle (id="debug-mode-toggle") can now be clicked to enable/disable debug mode
- Fixed debug settings toggle buttons not clickable - All debug constant toggle buttons (WP_DEBUG_LOG, WP_DEBUG_DISPLAY, SCRIPT_DEBUG, SAVEQUERIES, display_errors) now respond to clicks
- Fixed visual layout issues - Toggle button positioning and label alignment improved
馃帹 UI/UX Improvements
Enhanced User Experience:
- Proper click handlers - Added click event handlers for both checkbox and visual toggle elements
- Immediate visual feedback - Toggle state changes now update the UI immediately
- Better error handling - Added proper error handling and state reversion for failed toggle operations
- Improved layout - Better toggle button layout with improved flexbox positioning
馃敡 Technical Improvements
Code Enhancements:
- Added click event handlers for debug-mode-toggle button (.mt-toggle sibling of debug-mode-toggle checkbox)
- Added click handlers for debug constant toggle buttons with proper validation to prevent action when master debug is disabled
- Enhanced CSS flexbox layout: for labels, for toggle wrapper
- Improved JavaScript event handling with proper state synchronization
馃毃 What This Fixes
This release specifically addresses critical visual bugs that were preventing users from interacting with toggle buttons in the admin interface. Before this fix:
- Users couldn't click on the visual toggle switches
- Only checkbox changes were handled, missing click events for toggle buttons
- Toggle buttons were excluded from general toggle initialization but missing specific click handlers
馃搵 Files Modified
-
- Added click handlers and improved event handling
-
- Enhanced flexbox layout for toggle positioning
-
- Fixed toggle wrapper structure
-
- Version bump to 1.2.15
-
- Documented toggle button fixes
-
- Added comprehensive changelog entries
馃敆 Installation
Download the plugin ZIP file below and upload to your WordPress plugins directory, or install directly from the WordPress admin panel.
Full Changelog: v1.2.13...v1.2.15