Media Sweep – WordPress Media Cleaner

Changelog

1.0.6

  • Compatibility with WordPress 7.0
  • New: optional “Delete All Data on Uninstall” setting (Settings → Data Management). When enabled, deleting the plugin now cleanly removes its database tables, options, scheduled tasks, and the Media Sweep trash folder. Disabled by default, so your scan history and trash are preserved unless you opt in — including on multisite, where each site’s choice is respected.

1.0.5

  • Fixed scan aborting at 40-53% with “WordPress database error: Processing the value for the following field failed: notes” on sites where one image is referenced in many posts/pages
  • Notes column upgraded from TEXT to LONGTEXT and applied to existing installs automatically on upgrade
  • Each file’s recorded usage is now capped at 10 entries with a “+ N more usage locations” summary so the database stays lean
  • A single problematic row no longer aborts the entire scan — it is now logged as an error and the rest of the batch continues
  • Results table now shows the first usage location inline next to the filename so it is obvious where each file is used without clicking
  • Fixed the usage-notes popover overflowing the viewport when a file has many usages — it now scrolls inside a fixed-height container

1.0.4

  • Dynamic batch size based on server resources (max_execution_time and memory_limit)
  • Smaller batches (20-30) for limited shared hosting, larger batches (50-100) for well-resourced servers
  • Dynamic API request timeout scaled to server’s max_execution_time (30s-300s)
  • Improved user experience with smoother progress feedback during scans

1.0.3

  • Fixed scan getting stuck at “0 / X files” on hosting with limited server resources
  • Improved pause/resume mechanism to correctly maintain file count progress across interruptions
  • Added API request timeout handling with automatic retry for slow servers
  • Enhanced error display when scan encounters issues instead of silently failing
  • Better resource management for servers with low max_execution_time or memory_limit
  • Reduced batch size from 100 to 50 files for smoother progress updates and better user feedback

1.0.2

  • Compatibility with WordPress 6.9
  • Improved review notice banner with better user experience

1.0.1

  • Fixed file status not being reactivated when previously trashed/deleted files are found again during new scans
  • Improved file record management to automatically restore files that were moved back to original locations

1.0.0 – Initial Release

🎉 Launch Features:

  • Dual Scan Modes – Media Library and File System scanning capabilities
  • Smart Detection Engine – Advanced algorithms for accurate unused file identification
  • Safe Trash System – Secure file removal with restore capabilities
  • Comprehensive Analytics – Detailed scan reports and file insights
  • Bulk Operations – Efficient processing of multiple files
  • Real-time Progress – Live scan monitoring with pause/resume functionality
  • Advanced Filtering – Filter by status, file type, date, and directory
  • Search Functionality – Quick file location and identification
  • Resource Management – Intelligent system monitoring prevents timeouts
  • Modern UI/UX – Clean, responsive interface optimized for all devices
  • Translation Ready – Full internationalization support
  • Developer Friendly – Extensive hooks and filters for customization

🔧 Technical Highlights:

  • Built with modern React components and WordPress REST API
  • Optimized database queries for large media libraries
  • Memory-efficient processing with batch operations
  • Compatible with popular caching and optimization plugins
  • Follows WordPress coding standards and security best practices
  • Extensive error handling and logging capabilities

🛡️ Security & Performance:

  • Secure file operations with proper capability checks
  • Nonce verification for all AJAX requests
  • Sanitized input/output throughout the application
  • Optimized for sites with thousands of media files
  • Minimal server resource usage during scans

Plugin Website
Visit website

Author
WPCreatix
Version:
1.0.6
Last Updated
June 28, 2026
Active Installs
1000
Requires
WordPress 5.8
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.