Latest version 2.6.3 available

== Changelog ==

= 2.6.3 =

* Improved autoload size check to support all WordPress autoload values
* Improved the appearance of the autoload optimization report for better interpretation for the user.
* Added table fragmentation display and cleanup options in Database Tables module for tables with > 25% fragmentation

= 2.6.2 =
* **Unused Files Scanner Optimization** - Significantly improved performance and reliability of the scanning and cleanup process.
* **Faster Bulk Operations** - Optimized file selection and deletion mechanisms, making it much faster to handle thousands of files at once.
* **Reduced Server Load** - Improved data handling between the browser and server to prevent errors and reduce resource usage during large cleanups.
* **Code Cleanup** - Removed legacy scanning methods in favor of the more robust Background Scan system for a smoother user experience.
* **D

= 2.6.1 =
* **WooCommerce Admin Optimization** - Improved compatibility and stability by selectively disabling WooCommerce Admin features and scripts only where necessary, preventing UI issues on other store pages.
* **Database Optimization** - Added Action Scheduler cleanup options:
* Old entries in actionscheduler_actions
* Action Scheduler - failed actions (>7 days)
* Action Scheduler - canceled actions
* Old entries in actionscheduler_logs
* Logs linked to complete actions
* Orphaned logs in Action Scheduler
* Old entries in actionscheduler_claims
* Orphaned groups in Action Scheduler
* **Unused Files Scanner** - Improved mobile layout for directory selection and display
* **System Health** - Added option to export System Health report to a text file
* **Logging** - Standardized log file names for consistency across the plugin
* **Performance Enhancement** - Optimized record deletion mechanism in Database optimization module with batched processing for large databases
* **Manual Asset Blocking** - Added ability to manually block specific assets with improved URL matching and better user interface

= 2.6 =
* **Enhanced Asset Blocker** - Improved security and stability when blocking WooCommerce assets in the admin panel. Added a safety mechanism to prevent accidental blocking on critical store pages and an emergency disable option.
* **Module Restructuring** - Extracted new classes from AdminController (System Health, Auto Cleanup, Database Analyzer, Images, Cron Status, Sidebar Menu)
* **Permission Refactoring** - Implemented has_permission method across database operations
* **UI Redesign** - Moved Quick Actions above Recommendations, simplified security headers, updated button styles
* **Code Cleanup** - Removed outdated sections and deprecated code
* **Updated Freemius SDK** - Updated to the latest version

= 2.5.9 =
* **Performance Bar** - Added class to display SQL statistics in admin panel
* **Dashboard Widgets** - Moved code from main file to separate module (DashboardWidgets.php)
* **Cache Scanning** - Code refactoring with extraction of many new cache scanner classes and image extraction classes
* **Index Audit** - Moved logic from one large file to modular structure (5 new files)
* **View Renderer** - Refactored AdminController to use separate view files
* **Feature Control Handler** - Extracted code from AdminController to separate handler
* **Settings Handler** - Created new handler for settings management
* **Asset Optimizer AJAX Handler** - Moved AJAX logic to separate handler
* **Email Delivery AJAX Handler** - Moved email delivery logic to separate handler
* **Security and bug fixes** - Fixed hardcoded strings in SQL, global variables, removed debug logging
* **Cleanup** - Removed outdated documentation and refactoring files

= 2.5.8 =
* **Security Improvements:**
* Enhanced security measures across 8 PHP files
* Fixed critical vulnerabilities including SQL injection, XSS, and path traversal
* Improved data validation and sanitization
* Added proper access control checks
* Enhanced input validation and output escaping

= 2.5.7  =
* Added REST API (Logged Out) option in Feature Control → WordPress Features section to disable REST API requests for logged-out users
* Added Custom Login URL option in Feature Control → WordPress Features section
* Added Disabled Behavior option with choices: home url, 404 template
* Fixed redundant PHP log error regarding SESSION variable 'max_allowed_packet' being read-only in MySQL 8

= 2.5.6  =
* **Performance Improvements:**
* Database section now loads about 60% faster
* Overall module loading improved by 50-60%
* Optimized database queries - fewer requests mean faster response times
* Better caching to avoid unnecessary database lookups
* **Security & Stability Improvements:**
* Enhanced protection against SQL injection attacks
* Better handling of large databases to prevent timeouts
* Improved memory management when scanning many tables
* More reliable error handling and script termination
* **Email Delivery Module:**
* Test emails now validate the address before sending - prevents errors from invalid email addresses
* Sensitive information is hidden from browser console - keeps your data private
* Improved code documentation for better maintenance
* **Backup Scheduler:**
* Fixed timezone handling - now uses native WordPress timezone functions (wp_timezone, wp_date) for proper time detection across all timezones

= 2.5.5  =
* **Email Delivery Module Enhancements:**
* Added real-time email validation with visual feedback (green/red borders)
* Added "Reset to Defaults" button to restore default settings
* Implemented SMTP password encryption using AES-256-CBC for improved security
* Password field now shows placeholder instead of actual password (leave empty to keep current)
* Fixed alignment of test email form elements (input, button, spinner)
* Added validation messages for email fields with clear error indicators
* Settings now preserve password when not changed (backward compatible with existing passwords)

* Updated error handling from Exception to Throwable across multiple PHP files for full PHP 8.1+ compatibility
* Improved error catching to handle both Exception and Error types properly

= 2.5.4  =
* Enhanced auto-detection of mysqldump path with additional locations for various operating systems
* Implemented Email Delivery service with SMTP configuration
* Removed section icons from audit summary and analysis headings for cleaner UI
* Implemented AJAX handler for backup progress tracking with enhanced progress reporting during backup process
* Optimized WooCommerce sessions cleanup - reduced retention period from 7 days to 3 days for better database performance and reduced storage usage

= 2.5.3  =
* Improved UI and appearance of elements in Asset Optimizer module for mobile devices
* Enhanced CSS styling for Database Tables module - improved table presentation and layout
* Optimized font sizes and sidebar menu for better compactness and improved UI
* Enhanced System Health module with professional logging for all automated fix operations
* Improved stability of fix actions with new rate limiting and debouncing mechanism
* Enhanced Cron Tasks module with improved data presentation for better UI and compact appearance
* Improved mobile view of cards in Cron Tasks module for responsive design

= 2.5.2  =
* Enhanced System Health module with professional logging for all automated fix operations
* Improved stability of fix actions with new rate limiting and debouncing mechanism
* Added full internationalization support for System Health JavaScript components
* New MetadataStripper class for removing EXIF/IPTC/XMP metadata from images
* Improved image optimization with automatic metadata stripping while preserving ICC color profiles
* Enhanced performance with settings caching to reduce database queries
* Better transparency handling for PNG and WebP images during metadata removal

= 2.5.1  =
* Added new option in Image Optimizer module: 'Strip Image Metadata' - allows users to choose whether to remove metadata during WebP conversion
* Enhanced WordPress Reset module with individual component selection:
- Reset wp-content/plugins (Remove inactive plugins)
- Reset wp-content/themes (Remove inactive themes)
- Reset wp-content/uploads (PERMANENTLY delete all media files)

= 2.5.0  =
* Rebuilt and enhanced System Health module - now capable of not only diagnosing errors and issues but also fixing some of them at the wp-config.php level
* Added WordPress Reset feature in Feature Control module with options for:
- Reset Content: Removes all posts, pages, comments, terms, and taxonomies
- Reset Users: Removes all users except the current administrator
- Reset Options: Resets site options to defaults while preserving site URL and blog name
- Reset wp-content Directory: Simulate deletion of plugins, themes, and uploads
- Drop Custom Tables: Drops all database tables that are not part of WordPress core

= 2.4.9  =
* Improved stability and performance - increased API request limit for better performance during heavy use
* Cleaner interface - logo is now clickable, removed unnecessary borders, shadows, and hover effects
* Table organization - simplified styles for tabs and auxiliary elements
* Improved delete button - better positioning, appearance, and icon
* Clearer messages - wider spacing in error messages and new warning message when deleting

= 2.4.8 =
* Added email notifications for database backup operations
* Users can now choose to receive email notifications about backup success/failure
* Custom email address option with fallback to admin email

= 2.4.7 =
* Improved frontend for Database engine conversion option: better responsiveness and data presentation
* Fixed UI truncation bug when many tables are displayed

= 2.4.6  =
* Added image cropping by height option for photographers and vertical photos
* Enhanced image optimization controls for better media management

= 2.4.5 =
* Full control over backup scheduling with exact timing for database backups
* Automatic backup rotation for backups older than 7 days
* Improved stability and reliability of backup operations

= 2.4.4 =
* Added Security Headers check button in System Health module for enhanced security monitoring
* Improved security assessment capabilities with one-click header validation

= 2.4.3  =
* Updated readme and tested compatibility with WordPress 6.8.3
* Minor documentation and metadata updates

= 2.4.2  =
* Added new dashboard widget displaying autoload status for quick monitoring
* Enhanced Database optimization module with detailed autoload size information
* Optimized autoload checking to reduce unnecessary AJAX calls and improve performance

= 2.4.1  =
* Enhanced debug bar functionality with improved performance and reliability
* Optimized JavaScript execution for smoother admin panel experience
* Streamlined browser console output for cleaner development environment
* Extended PHP 8.1 compatibility support through end of year based on user requests

= 2.4.0  =
* Several UI improvements and bug fixes
* Updated Freemius SDK to the latest version

= 2.3.9 =
* Optimized database query and removed an unused 'created' field from the display to improve performance and reduce noise (improves DB load and UI accuracy)
* Improved Asset Optimizer admin status logic to correctly detect plugin and WooCommerce admin contexts, avoiding incorrect status display in some environments
* Updated plugin headers and metadata (stable tag bump to 2.3.9) and synchronized readme/plugin version information for consistency

= 2.3.8  =
* Enhanced logging system with improved action tracking
* Advanced database cleanup and auditing functionality
* Improved performance monitoring and system diagnostics
* Better error handling and validation mechanisms
* Optimized code structure for enhanced functionality
* Resolved minor bugs and improved overall stability

= 2.3.5  =
* Enhanced security for license validation system
* Improved unused files detection algorithm
* Better WooCommerce compatibility for latest versions
* Fixed system health monitoring on high-traffic sites
* Added support for modern image formats (WebP, AVIF)
* Performance improvements for database cleanup operations

= 2.3.4  =
* New asset optimization engine with advanced compression
* Added backup manager with automated scheduling
* Enhanced system health diagnostics
* Improved admin panel cleaner functionality
* Better error handling and logging
* UI/UX improvements across all modules

= 2.3.0  =
* Major update: Complete system health monitoring suite
* Advanced unused files scanner with deep analysis
* Professional backup and restore functionality
* Enhanced database optimization algorithms
* New admin panel cleaning tools
* Improved WooCommerce integration

= 2.2.0  =
* Added comprehensive unused files detection
* Enhanced database analysis and cleanup routines
* New system health monitoring features
* Improved compatibility with WordPress 6.5+
* Better performance on large databases

= 2.1.0  =
* WooCommerce-specific optimization tools
* Enhanced database cleaning algorithms
* New user interface design
* Added automated scheduling options
* Improved safety mechanisms

= 2.0.0  =
* Complete rewrite with modern architecture
* New optimization engine with advanced algorithms
* Enhanced safety features and backup integration
* Professional system monitoring tools
* Multi-language support

All rights reserved. 2025