{"id":252189,"date":"2025-10-27T01:28:57","date_gmt":"2025-10-27T01:28:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/media-sweep\/"},"modified":"2026-07-30T17:38:44","modified_gmt":"2026-07-30T17:38:44","slug":"media-sweep","status":"publish","type":"plugin","link":"https:\/\/yor.wordpress.org\/plugins\/media-sweep\/","author":23328829,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"7.0.3","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Media Sweep","header_author":"WPCreatix","header_description":"Clean up your WordPress Media Library by finding and removing unused files. Safely scan, preview, and sweep away orphaned media to keep your site fast and organized.","assets_banners_color":"6461bf","last_updated":"2026-07-30 17:38:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wpcreatix.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/wpcreatix.com\/","rating":3.8,"author_block_rating":0,"active_installs":1000,"downloads":6718,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wpcreatix","date":"2025-10-27 01:28:34"},"1.0.1":{"tag":"1.0.1","author":"wpcreatix","date":"2025-10-27 15:05:31"},"1.0.2":{"tag":"1.0.2","author":"wpcreatix","date":"2025-12-08 10:52:52"},"1.0.3":{"tag":"1.0.3","author":"wpcreatix","date":"2026-01-30 16:14:19"},"1.0.4":{"tag":"1.0.4","author":"wpcreatix","date":"2026-01-30 17:02:04"},"1.0.5":{"tag":"1.0.5","author":"wpcreatix","date":"2026-05-07 17:51:29"},"1.0.6":{"tag":"1.0.6","author":"wpcreatix","date":"2026-06-28 13:30:11"},"1.0.7":{"tag":"1.0.7","author":"wpcreatix","date":"2026-07-26 12:37:20"},"1.1.0":{"tag":"1.1.0","author":"wpcreatix","date":"2026-07-29 15:35:50"},"1.1.1":{"tag":"1.1.1","author":"wpcreatix","date":"2026-07-30 11:07:56"},"1.1.2":{"tag":"1.1.2","author":"wpcreatix","date":"2026-07-30 17:38:44"}},"upgrade_notice":{"1.0.6":"<p>Tested with WordPress 7.0 and adds an optional &quot;Delete All Data on Uninstall&quot; setting for a clean removal. Safe upgrade \u2014 data deletion is off by default.<\/p>","1.0.0":"<p>Welcome to Media Sweep! This initial release provides everything you need to clean up your WordPress media library safely and efficiently. Start reclaiming server space today with our powerful dual-scan system and intelligent file detection.<\/p>"},"ratings":{"1":3,"2":0,"3":0,"4":0,"5":7},"assets_icons":{"icon-128-128.png":{"filename":"icon-128-128.png","revision":3384909,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256-256.png":{"filename":"icon-256-256.png","revision":3384909,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3384909,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3384909,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3384909,"resolution":"1","location":"assets","locale":"","width":1713,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3384909,"resolution":"2","location":"assets","locale":"","width":1701,"height":949},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3384909,"resolution":"3","location":"assets","locale":"","width":1701,"height":940},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3384909,"resolution":"4","location":"assets","locale":"","width":1702,"height":937},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3384909,"resolution":"5","location":"assets","locale":"","width":1707,"height":912},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3384909,"resolution":"6","location":"assets","locale":"","width":1702,"height":915}},"screenshots":{"1":"<strong>Dashboard Overview<\/strong> \u2013 Clean, intuitive interface showing scan history and quick actions","2":"<strong>Scan Type Selection<\/strong> \u2013 Choose between Media Library and File System scans with detailed explanations","3":"<strong>Real-time Scan Progress<\/strong> \u2013 Watch your scan progress with detailed status updates and resource monitoring","4":"<strong>Scan Results<\/strong> \u2013 Comprehensive file listing with status, size, and usage information","5":"<strong>File Details<\/strong> \u2013 Detailed view showing where and how files are used across your site","6":"<strong>Trash Management<\/strong> \u2013 Safe file removal with easy restore capabilities"}},"plugin_section":[],"plugin_tags":[3786,88,163,1980,84],"plugin_category":[50],"plugin_contributors":[245999],"plugin_business_model":[],"class_list":["post-252189","plugin","type-plugin","status-publish","hentry","plugin_tags-cleanup","plugin_tags-files","plugin_tags-images","plugin_tags-library","plugin_tags-media","plugin_category-media","plugin_contributors-wpcreatix","plugin_committers-wpcreatix","plugin_support_reps-amoha"],"banners":{"banner":"https:\/\/ps.w.org\/media-sweep\/assets\/banner-772x250.jpg?rev=3384909","banner_2x":"https:\/\/ps.w.org\/media-sweep\/assets\/banner-1544x500.jpg?rev=3384909","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/media-sweep\/assets\/icon-128-128.png?rev=3384909","icon_2x":"https:\/\/ps.w.org\/media-sweep\/assets\/icon-256-256.png?rev=3384909","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/media-sweep\/assets\/screenshot-1.png?rev=3384909","caption":"<strong>Dashboard Overview<\/strong> \u2013 Clean, intuitive interface showing scan history and quick actions"},{"src":"https:\/\/ps.w.org\/media-sweep\/assets\/screenshot-2.png?rev=3384909","caption":"<strong>Scan Type Selection<\/strong> \u2013 Choose between Media Library and File System scans with detailed explanations"},{"src":"https:\/\/ps.w.org\/media-sweep\/assets\/screenshot-3.png?rev=3384909","caption":"<strong>Real-time Scan Progress<\/strong> \u2013 Watch your scan progress with detailed status updates and resource monitoring"},{"src":"https:\/\/ps.w.org\/media-sweep\/assets\/screenshot-4.png?rev=3384909","caption":"<strong>Scan Results<\/strong> \u2013 Comprehensive file listing with status, size, and usage information"},{"src":"https:\/\/ps.w.org\/media-sweep\/assets\/screenshot-5.png?rev=3384909","caption":"<strong>File Details<\/strong> \u2013 Detailed view showing where and how files are used across your site"},{"src":"https:\/\/ps.w.org\/media-sweep\/assets\/screenshot-6.png?rev=3384909","caption":"<strong>Trash Management<\/strong> \u2013 Safe file removal with easy restore capabilities"}],"raw_content":"<!--section=description-->\n<p><strong>Media Sweep: The Ultimate WordPress Media Library Cleaner<\/strong><\/p>\n\n<p>Media Sweep is a powerful WordPress plugin designed to help you reclaim valuable server space by identifying and safely removing unused media files from your WordPress site. Whether you're dealing with orphaned attachments, forgotten uploads, or files left behind by themes and plugins, Media Sweep provides a comprehensive solution to keep your media library clean and organized.<\/p>\n\n<p>Perfect for bloggers, agencies, e-commerce sites, and any WordPress website looking to optimize storage space and improve site performance.<\/p>\n\n<p>\ud83d\ude80 <strong>Key Benefits:<\/strong><\/p>\n\n<p>\u2705 <strong>Reclaim Server Space<\/strong> \u2013 Remove unused files and free up valuable storage\n\u2705 <strong>Improve Site Performance<\/strong> \u2013 Faster backups and reduced server load\n\u2705 <strong>Safe &amp; Reversible<\/strong> \u2013 Files moved to trash folder, not permanently deleted\n\u2705 <strong>Smart Detection<\/strong> \u2013 Advanced algorithms identify truly unused files\n\u2705 <strong>Batch Operations<\/strong> \u2013 Process multiple files efficiently\n\u2705 <strong>Detailed Analytics<\/strong> \u2013 Comprehensive scan reports and file insights<\/p>\n\n<h3>\ud83c\udfaf Core Features<\/h3>\n\n<h3>\ud83d\udd0d Dual Scan Modes<\/h3>\n\n<p><strong>Media Library Scan<\/strong>\n* Scans all media attachments in your WordPress library\n* Checks for usage in posts, pages, and custom fields\n* Detects thumbnail and size variations\n* Identifies gallery shortcodes and blocks\n* Fast and efficient for large media libraries\n* <em>Recommended for most WordPress sites<\/em><\/p>\n\n<p><strong>File System Scan<\/strong>\n* Deep scan of your uploads directory\n* Finds orphaned files not in the media library\n* Detects cache and temporary files\n* Identifies theme and plugin generated files\n* Comprehensive but may take longer to complete\n* <em>Best for sites with file management plugins<\/em><\/p>\n\n<h3>\ud83d\udcca Smart File Detection<\/h3>\n\n<ul>\n<li><strong>Usage Analysis<\/strong> \u2013 Checks posts, pages, custom fields, and widgets<\/li>\n<li><strong>Database Scanning<\/strong> \u2013 Searches content for file references<\/li>\n<li><strong>Shortcode Detection<\/strong> \u2013 Identifies gallery and media shortcodes<\/li>\n<li><strong>Block Analysis<\/strong> \u2013 Scans Gutenberg blocks for media usage<\/li>\n<li><strong>Plugin Integration<\/strong> \u2013 Detects files used by popular plugins<\/li>\n<li><strong>Theme Assets<\/strong> \u2013 Identifies theme-related media files<\/li>\n<\/ul>\n\n<h3>\ud83d\uddc2\ufe0f Advanced File Management<\/h3>\n\n<ul>\n<li><strong>Status Classification<\/strong> \u2013 Files categorized as In Use, Unused, or Orphaned<\/li>\n<li><strong>Bulk Actions<\/strong> \u2013 Select and process multiple files at once<\/li>\n<li><strong>Smart Filtering<\/strong> \u2013 Filter by file type, status, date, and directory<\/li>\n<li><strong>Search Functionality<\/strong> \u2013 Quickly find specific files<\/li>\n<li><strong>Preview Mode<\/strong> \u2013 View files before taking action<\/li>\n<li><strong>Detailed File Info<\/strong> \u2013 Size, type, usage locations, and more<\/li>\n<\/ul>\n\n<h3>\ud83d\udee1\ufe0f Safety Features<\/h3>\n\n<ul>\n<li><strong>Trash System<\/strong> \u2013 Files moved to secure trash folder, not deleted<\/li>\n<li><strong>Restore Capability<\/strong> \u2013 Easily restore accidentally removed files<\/li>\n<li><strong>Backup Integration<\/strong> \u2013 Works with popular backup plugins<\/li>\n<li><strong>Progress Monitoring<\/strong> \u2013 Real-time scan progress with pause\/resume<\/li>\n<li><strong>System Resources<\/strong> \u2013 Intelligent resource management prevents timeouts<\/li>\n<li><strong>Rollback Protection<\/strong> \u2013 Safe operations with detailed logging<\/li>\n<\/ul>\n\n<h3>\ud83d\udcc8 Comprehensive Analytics<\/h3>\n\n<ul>\n<li><strong>Scan History<\/strong> \u2013 Track all previous scans and results<\/li>\n<li><strong>Storage Statistics<\/strong> \u2013 See exactly how much space you've reclaimed<\/li>\n<li><strong>File Breakdown<\/strong> \u2013 Detailed analysis by file type and status<\/li>\n<li><strong>Usage Patterns<\/strong> \u2013 Understand your media library usage<\/li>\n<li><strong>Performance Metrics<\/strong> \u2013 Scan duration and processing statistics<\/li>\n<\/ul>\n\n<h3>\ud83d\ude80 Easy 3-Step Process<\/h3>\n\n<p><strong>Step 1: Choose Scan Type<\/strong>\n* Select Media Library or File System scan based on your needs\n* Configure advanced options for thorough analysis<\/p>\n\n<p><strong>Step 2: Run the Scan<\/strong>\n* Watch real-time progress as Media Sweep analyzes your files\n* Pause and resume scans as needed without losing progress<\/p>\n\n<p><strong>Step 3: Review &amp; Clean<\/strong>\n* Browse detected files with detailed information\n* Use bulk actions to efficiently process multiple files\n* Restore files from trash if needed<\/p>\n\n<h3>\ud83d\udd27 Advanced Configuration<\/h3>\n\n<ul>\n<li><strong>Scan Options<\/strong> \u2013 Deep scan, thumbnail inclusion, custom field checking<\/li>\n<li><strong>File Type Filters<\/strong> \u2013 Focus on specific file types (images, documents, etc.)<\/li>\n<li><strong>Directory Exclusions<\/strong> \u2013 Skip specific folders during scans<\/li>\n<li><strong>Performance Settings<\/strong> \u2013 Adjust batch sizes and resource limits<\/li>\n<li><strong>Automation Rules<\/strong> \u2013 Set up automatic cleanup schedules (planned for future versions)<\/li>\n<\/ul>\n\n<h3>\ud83d\udca1 Perfect For<\/h3>\n\n<ul>\n<li><strong>Content Creators<\/strong> \u2013 Bloggers and publishers with large media libraries<\/li>\n<li><strong>Web Agencies<\/strong> \u2013 Managing multiple client sites efficiently<\/li>\n<li><strong>E-commerce Sites<\/strong> \u2013 Cleaning up product images and assets<\/li>\n<li><strong>Membership Sites<\/strong> \u2013 Optimizing user-generated content<\/li>\n<li><strong>Portfolio Sites<\/strong> \u2013 Managing large image collections<\/li>\n<li><strong>News Sites<\/strong> \u2013 Handling high-volume media uploads<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>Need help with Media Sweep? We're here to assist!<\/p>\n\n<ul>\n<li><strong>Support Forum:<\/strong> <a href=\"https:\/\/wordpress.org\/support\/plugin\/media-sweep\/\">WordPress.org support forum<\/a><\/li>\n<li><strong>Feature Requests:<\/strong> <a href=\"https:\/\/wpcreatix.com\/contact\/\">Submit ideas and suggestions<\/a><\/li>\n<li><strong>Bug Reports:<\/strong> <a href=\"https:\/\/wpcreatix.com\/contact\/\">Report issues for quick resolution<\/a><\/li>\n<\/ul>\n\n<h3>Privacy<\/h3>\n\n<p>Media Sweep respects your privacy and does not collect or transmit any personal data. All file analysis and cleanup operations are performed locally on your server. No external services are contacted during plugin operation.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Media Sweep is crafted with \u2764\ufe0f by the <a href=\"https:\/\/wpcreatix.com\/\">WPCreatix<\/a> team. We're passionate about creating tools that help WordPress users optimize and maintain their websites efficiently.<\/p>\n\n<p>Special thanks to the WordPress community for their continuous feedback and support in making this plugin better.<\/p>\n\n<!--section=installation-->\n<p><strong>Automatic Installation (Recommended)<\/strong><\/p>\n\n<ol>\n<li>Go to Plugins &gt; Add New in your WordPress admin<\/li>\n<li>Search for \"Media Sweep\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<li>Navigate to Media Sweep in your admin menu to get started<\/li>\n<\/ol>\n\n<p><strong>Manual Installation<\/strong><\/p>\n\n<ol>\n<li>Download the plugin ZIP file<\/li>\n<li>Upload to <code>\/wp-content\/plugins\/media-sweep\/<\/code><\/li>\n<li>Activate through the Plugins menu in WordPress<\/li>\n<li>Access Media Sweep from your admin dashboard<\/li>\n<\/ol>\n\n<p><strong>Getting Started<\/strong><\/p>\n\n<ol>\n<li>Visit Media Sweep &gt; Dashboard<\/li>\n<li>Click \"Start New Scan\"<\/li>\n<li>Choose your scan type and options<\/li>\n<li>Let Media Sweep analyze your files<\/li>\n<li>Review results and clean up unused files<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20it%20safe%20to%20delete%20files%20found%20by%20media%20sweep%3F\"><h3>Is it safe to delete files found by Media Sweep?<\/h3><\/dt>\n<dd><p>Yes! Media Sweep uses advanced detection algorithms and moves files to a secure trash folder rather than permanently deleting them. You can always restore files if needed.<\/p><\/dd>\n<dt id=\"what%27s%20the%20difference%20between%20media%20library%20and%20file%20system%20scans%3F\"><h3>What's the difference between Media Library and File System scans?<\/h3><\/dt>\n<dd><p>Media Library scans focus on WordPress attachments and are faster, while File System scans check all files in your uploads directory for a more comprehensive cleanup.<\/p><\/dd>\n<dt id=\"can%20i%20restore%20deleted%20files%3F\"><h3>Can I restore deleted files?<\/h3><\/dt>\n<dd><p>Absolutely! Files are moved to the Media Sweep trash folder and can be easily restored through the Trash section of the plugin.<\/p><\/dd>\n<dt id=\"will%20this%20work%20with%20page%20builders%20and%20plugins%3F\"><h3>Will this work with page builders and plugins?<\/h3><\/dt>\n<dd><p>Yes! Media Sweep includes detection for popular page builders, gallery plugins, and other media-related extensions.<\/p><\/dd>\n<dt id=\"how%20much%20server%20space%20can%20i%20expect%20to%20reclaim%3F\"><h3>How much server space can I expect to reclaim?<\/h3><\/dt>\n<dd><p>This varies greatly depending on your site, but users typically reclaim 10-50% of their media storage space, sometimes even more on older sites.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20website%3F\"><h3>Will this slow down my website?<\/h3><\/dt>\n<dd><p>No, Media Sweep only runs when you initiate a scan and includes intelligent resource management to prevent server overload.<\/p><\/dd>\n<dt id=\"can%20i%20schedule%20automatic%20cleanups%3F\"><h3>Can I schedule automatic cleanups?<\/h3><\/dt>\n<dd><p>Currently, Media Sweep requires manual scan initiation. Automatic scheduling may be added in future versions.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>New: you can now delete a file even when it is reported as in use. The confirmation shows where it was found so you can judge for yourself, and the file goes to Trash like any other, so you can restore it if you change your mind.<\/li>\n<li>Fixed: files were wrongly reported as in use because other plugins keep their own record of every file on your site. Image optimizers, security scanners, backup tools and caching plugins all do this. Those records are still shown in the file's notes, but they no longer count as usage on their own.<\/li>\n<li>Fixed: an image could report itself as in use, because some optimizer, CDN and rename plugins store the image's own file name back onto it.<\/li>\n<li>Fixed: a successful bulk clean-up used to report large numbers of \"errors\". Thumbnails are removed together with the media file they belong to, and each one was then counted as a failure. They are now reported as already handled, and the summary explains what happened.<\/li>\n<li>Fixed: the summary after a bulk action closed instantly, and clearing a whole page of results showed \"no files found\" instead of the remaining files. The summary now stays open with a link to the Trash, and the list moves back to the last page that still has results.<\/li>\n<li>New: the Trash screen now shows a thumbnail of each image instead of a generic file icon, so you can see what you are about to restore or delete.<\/li>\n<li>Fixed: the Trash folder's access protection is now re-applied to sites that already had a trash folder, and is written in a form that Apache 2.4 and IIS also understand.<\/li>\n<li>Safer cleanup: a file that has changed since the scan ran is now skipped instead of removed, with a message telling you to run a new scan first. Deleting from an old scan can no longer remove a file that has been replaced or put back into use.<\/li>\n<li>New: scan results older than a week now carry a clear warning that they may be out of date, so nothing gets deleted based on a stale list.<\/li>\n<li>Fixed: starting a new scan could land you on an old interrupted scan with no way past it. New scans always start fresh, and an interrupted scan is only offered when it is genuinely still running (or from the Resume button on the scans list).<\/li>\n<li>Fixed: restoring or permanently deleting a file from the Trash could fail on some servers, and the Trash screen showed a full server path instead of the folder name.<\/li>\n<li>Fixed: permanently deleting a file from the Trash now clears it from your file records instead of leaving it listed as recoverable.<\/li>\n<li>Fixed: a failed restore showed a raw technical message; it now explains the problem in plain language.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed: on sites where several registered image sizes share the same dimensions (common with WooCommerce, Getwid, Robo Gallery and similar plugins), the scan tried to record the same file twice and the resulting database notices broke the scan with \"Your server interrupted the scan\". Each file is now recorded once, and writing a file result is fully repeat-safe.<\/li>\n<li>Fixed: resuming a scan could re-record results it had already saved. Progress is now saved continuously while a scan runs, so a resumed scan picks up exactly where it stopped.<\/li>\n<li>Fixed: Media Sweep no longer lets database notices or other plugins' debug output reach its own responses, and the scanner can now recover a scan even if something else on the site prints output mid-request. Sites running with WP_DEBUG_DISPLAY enabled are no longer affected.<\/li>\n<li>Improved: scan requests shrink their workload further on hosts with very short request limits.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New scan engine: your content is now read ONCE into an indexed reference index, then every attachment is checked with instant indexed lookups \u2014 scans that previously took hours (or died with \"The response is not a valid JSON response.\") now finish in minutes on any hosting.<\/li>\n<li>Fixed: scans no longer get stuck at 40% or fail with \"The response is not a valid JSON response.\" on shared hosting \u2014 every scan request now completes well inside even the strictest server timeouts (works on 30-second hosts, no configuration needed).<\/li>\n<li>New: scans are checkpointed and resumable \u2014 closing the tab, a server hiccup, or even a PHP fatal now pauses the scan with a Resume button instead of losing progress.<\/li>\n<li>New: smarter detection \u2014 media used in Elementor and other page-builder layouts, widgets, site icon\/logo settings, and WooCommerce category images is now correctly reported as in use (with the location named in the file's usage notes).<\/li>\n<li>New: WP-CLI support \u2014 run <code>wp media-sweep scan<\/code> for unattended scans of very large libraries.<\/li>\n<li>Improved: the scanner automatically adapts to slow servers (self-tuning delays, automatic retries with backoff) and never shows raw technical errors \u2014 and the detailed per-file usage reports you rely on are unchanged, still free, and now even more complete.<\/li>\n<li>Fixed: edited images are no longer marked \"in use\" by their own backup metadata.<\/li>\n<li>Under the hood: new mswp_scan_refs table and scan checkpoint columns, migrated automatically on update.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>New: a \"More from WPCreatix\" section that helps you discover the other WPCreatix plugins, with one-click install and activate right from the admin.<\/li>\n<li>Fixed: the \"leave a review\" banner could reappear after being dismissed \u2014 dismissing it is now remembered for good.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Compatibility with WordPress 7.0<\/li>\n<li>New: optional \"Delete All Data on Uninstall\" setting (Settings \u2192 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 \u2014 including on multisite, where each site's choice is respected.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>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<\/li>\n<li>Notes column upgraded from TEXT to LONGTEXT and applied to existing installs automatically on upgrade<\/li>\n<li>Each file's recorded usage is now capped at 10 entries with a \"+ N more usage locations\" summary so the database stays lean<\/li>\n<li>A single problematic row no longer aborts the entire scan \u2014 it is now logged as an error and the rest of the batch continues<\/li>\n<li>Results table now shows the first usage location inline next to the filename so it is obvious where each file is used without clicking<\/li>\n<li>Fixed the usage-notes popover overflowing the viewport when a file has many usages \u2014 it now scrolls inside a fixed-height container<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Dynamic batch size based on server resources (max_execution_time and memory_limit)<\/li>\n<li>Smaller batches (20-30) for limited shared hosting, larger batches (50-100) for well-resourced servers<\/li>\n<li>Dynamic API request timeout scaled to server's max_execution_time (30s-300s)<\/li>\n<li>Improved user experience with smoother progress feedback during scans<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed scan getting stuck at \"0 \/ X files\" on hosting with limited server resources<\/li>\n<li>Improved pause\/resume mechanism to correctly maintain file count progress across interruptions<\/li>\n<li>Added API request timeout handling with automatic retry for slow servers<\/li>\n<li>Enhanced error display when scan encounters issues instead of silently failing<\/li>\n<li>Better resource management for servers with low max_execution_time or memory_limit<\/li>\n<li>Reduced batch size from 100 to 50 files for smoother progress updates and better user feedback<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Compatibility with WordPress 6.9<\/li>\n<li>Improved review notice banner with better user experience<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed file status not being reactivated when previously trashed\/deleted files are found again during new scans<\/li>\n<li>Improved file record management to automatically restore files that were moved back to original locations<\/li>\n<\/ul>\n\n<h4>1.0.0 - Initial Release<\/h4>\n\n<p><strong>\ud83c\udf89 Launch Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Dual Scan Modes<\/strong> \u2013 Media Library and File System scanning capabilities<\/li>\n<li><strong>Smart Detection Engine<\/strong> \u2013 Advanced algorithms for accurate unused file identification<\/li>\n<li><strong>Safe Trash System<\/strong> \u2013 Secure file removal with restore capabilities<\/li>\n<li><strong>Comprehensive Analytics<\/strong> \u2013 Detailed scan reports and file insights<\/li>\n<li><strong>Bulk Operations<\/strong> \u2013 Efficient processing of multiple files<\/li>\n<li><strong>Real-time Progress<\/strong> \u2013 Live scan monitoring with pause\/resume functionality<\/li>\n<li><strong>Advanced Filtering<\/strong> \u2013 Filter by status, file type, date, and directory<\/li>\n<li><strong>Search Functionality<\/strong> \u2013 Quick file location and identification<\/li>\n<li><strong>Resource Management<\/strong> \u2013 Intelligent system monitoring prevents timeouts<\/li>\n<li><strong>Modern UI\/UX<\/strong> \u2013 Clean, responsive interface optimized for all devices<\/li>\n<li><strong>Translation Ready<\/strong> \u2013 Full internationalization support<\/li>\n<li><strong>Developer Friendly<\/strong> \u2013 Extensive hooks and filters for customization<\/li>\n<\/ul>\n\n<p><strong>\ud83d\udd27 Technical Highlights:<\/strong><\/p>\n\n<ul>\n<li>Built with modern React components and WordPress REST API<\/li>\n<li>Optimized database queries for large media libraries<\/li>\n<li>Memory-efficient processing with batch operations<\/li>\n<li>Compatible with popular caching and optimization plugins<\/li>\n<li>Follows WordPress coding standards and security best practices<\/li>\n<li>Extensive error handling and logging capabilities<\/li>\n<\/ul>\n\n<p><strong>\ud83d\udee1\ufe0f Security &amp; Performance:<\/strong><\/p>\n\n<ul>\n<li>Secure file operations with proper capability checks<\/li>\n<li>Nonce verification for all AJAX requests<\/li>\n<li>Sanitized input\/output throughout the application<\/li>\n<li>Optimized for sites with thousands of media files<\/li>\n<li>Minimal server resource usage during scans<\/li>\n<\/ul>","raw_excerpt":"Clean up your WordPress Media Library by finding and removing unused files. Safely scan, preview, and sweep away orphaned media to keep your site fast &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/252189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=252189"}],"author":[{"embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcreatix"}],"wp:attachment":[{"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=252189"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=252189"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=252189"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=252189"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=252189"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/yor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=252189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}