CrushEdge Orphaned Upload Cleaner is a lightweight, high-performance maintenance plugin designed to detect and clean up orphaned files inside your wp-content/uploads/ directory. What is an “Orphaned Upload”? In WordPress, an orphaned upload is a physical file present in your uploads directory that h
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 5.6 and PHP 7.4.
SourceWordPress plugins · Dec 3, 2026
01 / Source details
Aboutthistool.
CrushEdge Orphaned Upload Cleaner is a lightweight, high-performance maintenance plugin designed to detect and clean up orphaned files inside your wp-content/uploads/ directory.
What is an “Orphaned Upload”?
In WordPress, an orphaned upload is a physical file present in your uploads directory that has no matching attachment record in the WordPress Media Library ( wp_posts ) , nor is it a registered thumbnail/sub-size of an active attachment.
These “ghost files” accumulate over time from: * Interrupted or cancelled media uploads. * Deleted Media Library items where PHP unlinking failed or was skipped. * Leftover files from uninstalled plugins, test imports, or manual FTP transfers. * Old resized thumbnails left behind after themes or plugins change thumbnail dimensions.
Key Features
Trash Can Safety Quarantine: Default “Move to Trash” action safely isolates orphaned files inside a protected directory ( .crushedge-trash/ ) with web access lockdown ( .htaccess and web.config ), completely eliminating accidental data loss.
1-Click Single & Bulk Restore: Restore any file, selected files, or all files back to their original locations in uploads/ with a single click.
Empty Trash & Permanent Purge: Safely purge individual files, selected items, or empty the entire Trash Can when ready.
WordPress-Style Row Actions: Clean hover action links under filenames ( Move to Trash | Delete Permanently | Ignore Folder for active files; Restore | Delete Forever in Trash Can), keeping the primary action button column compact and uncluttered.
Sticky Table Headers: Table headers remain pinned to the top of the viewport ( position: sticky; top: 32px desktop / 46px mobile) when scrolling through long lists (20–200 items), with automatic WordPress admin bar offset compensation.
“Only Orphan” Default: Automatically displays only orphaned uploads on load, with a single-click toggle to inspect all files in the uploads folder.
Smart Image Derivative Resolution: Intelligently recognizes auto-generated thumbnails ( -150x150 , -300x200 ), scaled images ( -scaled ), edits ( -e123... ), and modern Next-Gen companion files ( .webp , .avif ). If the parent image is in the Media Library, derivative files are automatically linked and protected from deletion.
Expanded Plugin Whitelist: Automatically shields 3rd-party plugin storage folders from being treated as orphans, including WordPress Download Manager ( download-manager-files , wpdm-files ), WooCommerce ( woocommerce_uploads , wc-logs ), Elementor, form uploads (Gravity Forms, WPForms, Fluent Forms, Formidable, Ninja Forms), backups (UpdraftPlus, Duplicator, All-in-One WP Migration), and caching systems.
User-Configurable Excluded Folders & Patterns: Add custom folder names (e.g., my-custom-folder ) or wildcard patterns (e.g., *.zip ) to exclusions.
“Ignore Folder” Quick Action: Quickly ignore any folder right from the table row with date-structure warning protections.
Deep Scan Content Reference Checker: Cross-references published post and page HTML content to ensure files actively embedded on your site are locked and protected.
Developer Hooks: Fully extensible with crushedge_orphan_protected_dirs , crushedge_orphan_protected_files , and crushedge_orphan_is_file_protected filters.
Instant Sorting: Sort by File Name, Size, Modified Date, and Orphan Status (Ascending & Descending).
Chunked Mass Actions: Processes mass move-to-trash, restore, and deletions in rapid asynchronous batches with live progress indicators.
Instant Cancel Support: Easily stop batch processing at any time with instant abort.
Live Search & Pagination: Real-time search filter and customizable pagination (20, 50, 100, 200 items per page).
WordPress Plugin Check (PCP) Compliant: Built to the highest WordPress coding and security standards using WP_Filesystem and core wp_delete_file() .
Legal Disclaimer
CRUSHEDGE ORPHANED UPLOAD CLEANER IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, CONTRIBUTORS, OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, LOSS OF DATA, WEBSITE DOWNTIME, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FILE DELETIONS ARE PERMANENT AND IRREVERSIBLE. Always create and verify a complete backup of your WordPress database and wp-content/uploads/ directory before performing any cleanup or deletion operations.
02 / Source details
Gettingstarted.
01Upload the crushedge-orphaned-upload-cleaner directory to your /wp-content/plugins/ directory.
02Activate the plugin through the ‘Plugins’ menu in WordPress.
03Navigate to Tools → CrushEdge Orphaned Upload Cleaner in your WordPress admin menu.
04Review the detected orphan files and perform single or bulk deletion.
03 / Source details
Frequently asked questions.
Does this delete images that are used in my posts?
CrushEdge Orphaned Upload Cleaner cross-references files on disk against active Media Library attachment records, auto-generated derivative patterns, and includes a Deep Scan toggle to verify if an image is embedded inside published post and page HTML content.
How does the plugin handle Download Manager or WooCommerce files?
Common third-party directories like download-manager-files , woocommerce_uploads , form uploads, and page builder assets are whitelisted by default. You can also exclude any custom folder or pattern using the Excluded Folders tool or the Ignore Folder button.
What about small images and thumbnails generated automatically?
The plugin features a smart derivative detection engine that recognizes {name}-{width}x{height}.{ext} patterns as well as .webp and .avif companions. If the parent media item is registered in WordPress, these thumbnails are automatically protected and shielded from the orphan list.
Can deleted files be recovered?
Yes! When you move files to the Trash Can , they are safely quarantined in a hidden directory ( .crushedge-trash/ ). You can restore individual files, selected batches, or all files back to their exact original upload locations at any time. Only when you explicitly choose Delete Permanently or Empty Trash Can are files permanently deleted from disk.
What is the Trash Can quarantine feature?
The Trash Can acts as an essential safety net against accidental data loss. Instead of immediately erasing files from disk, moving an item to the Trash Can moves the physical file into a quarantined directory ( wp-content/uploads/.crushedge-trash/ ) with web access blocked via .htaccess and web.config . This takes the file offline without destroying it, giving you total peace of mind to test your site before permanently purging.
Are core system files safe?
Yes. Critical server and WordPress files such as .htaccess , index.php , web.config , and plugin cache/style folders are automatically whitelisted and cannot be deleted.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati