Latest version 2.7.6 available
Also check out the roadmap →

== Changelog ==

= 2.7.6 = 
 * Fixed button in 'Change prefix' module - now correctly changes name to 'completed' after successful action instead of showing previous ongoing action name
 
 = 2.7.5 =
* Improved database audit - now works faster and more accurately on large websites with detailed analysis of orphaned data and table health
* Added new database audit metrics: orphaned termmeta, orphaned term_relationships, orphaned term_taxonomy, oEmbed cache in postmeta, and WooCommerce HPOS orphaned data (order meta, addresses, operational data)
* Added new database cleanup options: orphaned term metadata, orphaned term relationships (with automatic term count rebuild), orphaned term taxonomy entries, oEmbed cache cleanup, and WooCommerce HPOS orphaned data cleanup (PRO feature)
* Fixed Database Check button to properly report all new audit metrics in the step-by-step AJAX flow
* Fixed Clean selected functionality to properly execute new cleanup options via the service layer
* Restructured backup and cron services for better stability and easier future updates
* Better memory checking before backup creation prevents failed operations on memory-limited servers
* Refactored WordPress Reset module for improved stability and easier maintenance
* Added several CSS improvements for better UI clarity and user experience
* Added ability to set custom number for Login Protection - users can now configure the number of failed login attempts before blocking in the WordPress Features module
* Added ability to set custom number for Post Revisions - users can now control how many post revisions are stored in the WordPress Features module for greater control over these options in the UI
* Added new "WooCommerce DB Check" tab in Database Tables module - verify WooCommerce table integrity, detect missing tables, and diagnose runtime issues (HPOS, Action Scheduler, cron status) for proactive store maintenance
* Added dedicated information panels for each tab in Feature Control module - users now see contextual descriptions specific to Dashboard Widgets, Admin Interface, WordPress Features, and WordPress Reset sections instead of generic information
* Added dedicated information panels for each tab in Database Backup module - each section (Schedule, Settings, Create, Existing Backups, Remote Storage, Debug) now has its own contextual help describing available options and benefits
* Added dedicated information panels for each tab in Email Delivery module - each section (SMTP Settings, Test Email, Debug) now has its own contextual help with relevant information
* Added dedicated information panels for each tab in Asset Optimizer module - each section (Plugins Blocker, Global Rules, WooCommerce Tweak) now has its own contextual help describing available features
* Improved user experience - contextual information helps users understand exactly what each tab contains and how to use its features effectively
* Added advanced multi-stage analysis of unused tables in Database Optimization module with major UI improvements and enhanced detection methods
* Improved email sending detection in System Health module for better analysis of PHP mail, SMTP, and other delivery methods
* Moved Email Audit Check (SPF, DKIM, DMARC and blacklists via MXToolbox) to System Tools section for better UI clarity and readability - this is an external action
* Added daily cleanup option in Scheduled cleaning module - users can now schedule automatic database cleanup every day (previously only weekly, bi-weekly, and monthly options were available)
* Added automatic Remote Storage upload for backups - backups are sent to Remote Storage automatically right after creation. A background retry runs every hour for files that could not be uploaded immediately. After 3 failed attempts the file is skipped and an email notification is sent to the administrator.
* Added email notifications for scheduled database cleanup - users can now receive email notifications about cleanup success or failure after each scheduled cleanup execution via cron
 
= 2.7.4 =
* Added new tab "Change prefix" in Database Tables module to allow changing database table prefix
* Added search functionality for the prefix change feature in the built-in search engine
* Improved port selection UI in Email Delivery module - automatically selects SSL when port 465 is entered and TLS when port 587 is entered
* Added new "Debug" tab in Email Delivery module that checks PHP OpenSSL extension status, DNS resolution, port connectivity, and SMTP authentication
* Added file extension filter in Unused Files Scanner module for faster selection and deletion by file format (e.g., .jpg, .png, .webp)

= 2.7.3 =
* Added sorting for database backups with information about their count and size for better control in the Database backup module
* Improved appearance of additional tools in System Health module with a clean, clear UI for Export Health Report, Security Headers, and Debug Bar sections
* Minor performance optimization for the entire Devdoit Sweep plugin and improved fade-in animations for all modules
* Shortened and renamed database backup files to a shorter but still unique format (e.g., 'db_20260211_EpMrf5.sql.zip') for better readability, especially on mobile when viewing the Existing Backups tab
 
= 2.7.2 =
* **Remote Backups via SFTP** - Automatically upload backups to an external server with encrypted and secure connection
* **Automatic Backup Rotation** - Automatically delete old backups to save server space
* **Security Enhancements** - Improved protection against redirection attacks and additional security checks for AJAX requests
* **Performance Improvements** - Faster backup workflow without page reload, improved lazy loading compatibility with page builders
* **Better User Experience** - Consistent date formatting in test emails and easier access to Settings
* **Advanced Tools** - New backup debugging module for easier troubleshooting
* **Scheduled Cleanup Time** - Added ability to set specific hour and minute for automatic database cleanup scheduling in the Automatic Database Cleanup module
 
= 2.7.1 =
* Added built-in search in sidebar for easy navigation through plugin options
* Added option to hide unused modules in sidebar for a cleaner interface
* Simplified user interface in Database backup module
* Improved display of scheduled task status in Scheduled cleaning module
* Added RTL support for better experience with right-to-left languages
 
= 2.7.0 =
* Improved Database Backup module: simplified user interface for easier navigation
* Added new "Debug" tab to the Backup module for advanced troubleshooting
* Minor UI changes/improvements for convenience and clarity.

= 2.6.9 =
* Improved reliability of database backup and import for PHP method, making it even more robust.
* UI improvement in the database backup module - automatic switching between tabs while making a backup and messages informing about the status of current actions *
* **Security** - Added additional security measures throughout the plugin to protect against potential threats. Improved database communication for better safety. Added checks to prevent unauthorized access to certain functions.
* **UI Improvements** - Enhanced export button visibility. Improved user notifications that appear faster and are better positioned. Updated PRO badge styling for premium features. Minor form styling improvements.
* **Compatibility** - Added script exclusions for better compatibility with other plugins.

= 2.6.8 =
* **Major UI Redesign** - Improved user experience with a modern tabbed interface for Database Backup, Feature Control, Asset Optimizer, Email Delivery, and Rendering Optimization.
* **New Module: Rendering Optimization** - A powerful suite of tools designed to improve Core Web Vitals and site speed.
* **Smart JavaScript Handling** - Optimize script loading by deferring, delaying execution until interaction, or moving them to the footer.
* **Resource & Font Priority** - Speed up your site by prioritizing critical assets and ensuring text remains visible during font loading.
* **Advanced Lazy Loading** - Native lazy loading for images and videos with DOM monitoring and exclusion of "above-the-fold" images to improve LCP.

= 2.6.7 =
* Hide Database Status, Autoload Status, and Database Backup Status dashboard widgets for non-administrator users
* Enhanced security for email delivery module with improved password encryption and input validation
* Fixed potential security vulnerabilities in admin interface
* Improved system health module performance by removing unnecessary delays
* Added better error handling for improved stability
* **Improved Database Cleanup** - Enhanced the database cleaning process to work reliably even on very large databases without interruptions.
* **Smarter Batch Processing** - Reduced processing batches and added easy-to-read performance logs for better monitoring.
* **Better Progress Display** - Updated the progress bar to clearly show all 13 cleaning steps for a smoother user experience.

= 2.6.6 =
* Added "Analyze" and "Check" buttons to the Database Tables module for quick table diagnostics and health checks.
* Improved UI of the "Feature Control" module so that the "save" button is always visible and close at hand for each section
* Minor readability improvement in the "Database optimization" module when showing autoload results

= 2.6.5 =
* Improved the performance of the WordPress Reset module by adding batch processing and better path validation, and enhanced overall security.
* **Login Protection** - Added security feature to protect against brute force attacks. After 5 failed login attempts from the same IP, login is blocked for 10 minutes. The system automatically detects real user IP even when using Cloudflare. All login errors show the same message to prevent username guessing. Successful login resets the counter.
* **System Health** - Improved file permissions display in File System section. Now all directories show complete permission information for better clarity and easier troubleshooting.
* *In the Database Tables module, there is a new option to filter tables by "Core" and "Custom" to make it easier to browse tables in the database.
* Directories that contain 0 files are automatically excluded from the "Unused Files Scanner" list. This ensures that the user only sees folders that can actually be scanned for unused files.
* UI improvement - the colors of buttons and small elements have been improved to make them less green, for clarity of information.


= 2.6.4 =
* The database check process has been divided into eight stages to ensure stability and prevent 503 Gateway Timeout errors. A time budget mechanism and an AJAX state machine have been implemented for reliable execution, similar to the optimizations we made in version 2.6.2. The method remains the same now.
* Improved table fragmentation display logic in the Database Tables module. Clearer thresholds.

= 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.

= 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