Gerdoo Orphan Media Cleaner
Review possible unused images with a resumable reference index and reversible private quarantine. No automatic deletion.
Solid choice
Gerdoo Orphan Media Cleaner is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 weeks ago, and scores 66/100 on our health check.
- Actively developed — last update 3 weeks ago
- Tested with the latest WordPress (7.1)
- Small user base (10+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Gerdoo Orphan Media Cleaner stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| database cleaner | #41 |
| ghost files | #13 |
| media cleaner | #23 |
| orphan images | #6 |
| uploads cleaner | #29 |
Version adoption
Share of active sites per release.
About Gerdoo Orphan Media Cleaner
From the official readme · v1.1.0Description
This version replaces the original public-trash approach with manually reviewed private quarantine and recovery. Back up the database, uploads and existing trash before upgrading. Scan results are review candidates, not proof that a file is unused. Test on a staging copy before using it on an important site. Very large media libraries and every third-party integration have not been independently benchmarked.
Gerdoo indexes registered attachment files and supported database references before listing review candidates. A missing reference is not proof that a file is unused. Review custom code, external uses and integrations before quarantine.
- JSON and inert PHP serialized-array/object parsing, numeric IDs, gallery shortcodes, image URLs and CSS references. Opaque custom serialization stays blocked.
- Supported sources: post content/excerpts, postmeta, options, termmeta, usermeta, comments and commentmeta; network metadata on Multisite.
- Protection for original images, intermediate sizes, edit backups and shared attachment files, including PDF preview images.
- Recursive raster-file enumeration, including AVIF; excludes symbolic links, legacy trash, cache and other sites’ upload directories.
- Fresh-scan authorization, file checksums, per-site file locks and recovery journals.
- Multi-checkpoint time-sliced AJAX requests and a resumable WP-CLI runner for long scans; only one worker may advance a scan at a time.
- Deduplicated reference index and indexed active-file reservations. Existing RC quarantine records remain protected through a legacy check.
- Atomic reservation of all attachment-family paths in a short InnoDB transaction; incompatible table engines block new operations.
- On single sites, successful attachment-metadata additions conservatively extend every active scan’s file-owner catalog under a shared database lock; unverified additions and reserved-path conflicts still invalidate scans.
- Changed uploads-directory offsets are re-enumerated with provisional file candidates discarded (up to five retries), rather than trusting a stale iterator offset.
- Private-vault status and the validated per-site storage path are visible to authorized administrators only; display never bypasses required authorization.
- Local attachment records and metadata survive quarantine. Original paths are never silently overwritten during recovery.
- Explicit permanent deletion requires a current complete scan and a typed confirmation. Nothing is purged on a schedule.
- Existing 1.0.0 trash records can be restored or explicitly migrated into private storage.
Database jobs read bounded batches. In the browser, several short checkpoints run per AJAX response. HTML post_content above the ordinary 2 MiB document limit is read in 65,536-character overlapping checkpoints (with a 64 MiB default overall HTML cap); a source checksum is verified before the record is marked complete. Large JSON, serialized structures and unsupported formats still stop the scan safely. A single slow database operation or file can still exceed a request’s budget. Persistent WP-CLI workers can keep a directory iterator open and avoid repeated seeking within the same command, but resuming after process exit still reopens the directory. This is not a promise of suitability for every shared host. Local file operations default to 64 MiB per file. Small reference documents default to 2 MiB, 5,000 references and 32 nesting levels. Unsupported sources stop the scan instead of silently authorizing deletion.
Privacy
The plugin sends no telemetry and makes no runtime requests to external services. Reference indexes can contain internal source identifiers and paths; expired scan indexes are removed in bounded cleanup batches on subsequent scan starts. Quarantine journals are retained for recovery and audit. Preview access requires an authenticated administrator and a nonce. WordPress’ own update and translation services are outside this plugin’s processing.
Installation
- Back up the database and uploads, then install on a staging copy.
- Upload the
gerdoo-orphan-media-cleanerdirectory into/wp-content/plugins/, or install the ZIP through WordPress. - Activate the plugin and open Tools -> Smart Media Cleaner.
- If prompted, complete the initial private-storage setup on the same screen. Check that the proposed private folder is not publicly served by any other domain/alias.
- Run a complete scan and manually review the candidates.
- Quarantine selected candidates, check the site, then run a fresh scan before any explicit permanent deletion.
For a separate read-only audit of a real unrestricted scan, go to “Quarantine and Recovery” and click “Scan the whole website” under the pre-deletion scan control. When every scan phase finishes, the plugin downloads gerdoo-omc-full-scan-YYYY-MM-DD.json automatically, containing index counts and explicit limitations. This does not quarantine or delete real files. The browser must remain open while the scan runs; a completed WP-CLI scan can also be loaded with its ID from the collapsed “Advanced server scan” panel. On a large media library this operation may take a long time. The report does not prove that any candidate is safe to remove.
For large libraries with WP-CLI and an administrator user ID, the scan can be advanced in the server process without keeping the browser open:
wp gerdoo-omc start --as-user=1 --seconds=300
The command prints a 32-character scan ID. Re-run it with resume, the same user ID and the scan ID until the phase is done:
wp gerdoo-omc resume SCAN_ID --as-user=1 --seconds=300
wp gerdoo-omc status SCAN_ID --as-user=1
To reclaim indexes belonging to expired scans in bounded batches without touching quarantined files, use:
wp gerdoo-omc cleanup --as-user=1 --seconds=300
Replace 1 with an authorized administrator’s numeric ID and SCAN_ID with the exact returned ID. The scan is not a cleanup command and never deletes files. In “Quarantine and Recovery”, expand “Advanced server scan”, enter the ID while signed in as that same administrator, then select “Show scan results” to review completed results. Schema upgrades invalidate prior scan IDs, and ordinary content/reference changes still invalidate the scan for safety. The lifetime is renewed on checkpoints (default seven days; filter gerdoo_omc_scan_lifetime, constrained to one through thirty days). Only standard attachment metadata additions on single sites are reconciled incrementally; this does not provide a fully transactionally consistent snapshot of an arbitrarily changing WordPress site. Plan a maintenance window for active publishing, uploads and unsupported integrations.
Private quarantine can now be configured through the initial setup panel in WordPress Tools without editing wp-config.php. The UI suggests a location only when it detects a conventional public-root boundary and its parent is writable; the administrator must verify that other virtual hosts or aliases cannot expose the folder. A location is created and validated only after the administrator explicitly clicks Save. The path is saved per site as the gerdoo_omc_vault_path option. The GERDOO_OMC_VAULT_PATH constant in wp-config.php remains supported and takes precedence over the option. The vault must be outside the document root, ABSPATH, WP_CONTENT_DIR and the uploads base directory. If this boundary or write access cannot be established, scans still work and quarantine is blocked. Changing the option is refused while active recovery records exist.
The WordPress database account must be able to create/alter plugin tables. The quarantine and reserved-paths tables must use InnoDB for crash-safe atomic reservations. New file operations are blocked if this cannot be verified.
Example on Linux: define( 'GERDOO_OMC_VAULT_PATH', '/home/example/private/gerdoo-media-vault' );
Example on Windows: define( 'GERDOO_OMC_VAULT_PATH', 'E:/WordPress-Private/gerdoo-media-vault' );
If using the optional constant, pre-create its parent directory and grant the PHP service account appropriate access. Use the same vault configuration for web requests and WP-CLI. Include the private vault in your backups.
Developer diagnostics and integration fixtures are not included in this plugin package. They have no public admin screen or callable AJAX endpoint.
Changelog
Back up database, uploads and existing trash before upgrading. Old trash records are preserved but remain public until explicitly migrated or restored. Set up private quarantine storage before moving files. Review every candidate.
1.1.0
- Introduce reversible, private file quarantine with recovery journals, checksums, collision protection and manual approval before removal.
- Preserve legacy 1.0.0 trash records on upgrade; add explicit migration into private storage and recovery of old files.
- Scan registered media and uploads independently with bounded, resumable reference indexing; provide a combined audit for deletion authorization and WP-CLI commands.
- Protect image families, generated sizes and shared files; reconcile standard attachment metadata updates during WooCommerce image regeneration and handle Unicode filenames safely.
- Add thumbnails in candidate and quarantine lists, numbered-page navigation, clearer status messages and safer error handling.
- Require a current complete combined scan and explicit confirmation before irreversible deletion. No automatic purging.
1.0.0
- Initial release with database scanner, host scanner and physical trash.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Gerdoo Orphan Media Cleaner alternatives
All database cleaner plugins →FAQ
Gerdoo Orphan Media Cleaner: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Gerdoo Orphan Media Cleaner free?
Yes. Gerdoo Orphan Media Cleaner is free to download and use from the official WordPress.org plugin directory.
Is Gerdoo Orphan Media Cleaner safe to use in 2026?
Gerdoo Orphan Media Cleaner is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 weeks ago, and scores 66/100 on our health check.
How many websites use Gerdoo Orphan Media Cleaner?
Gerdoo Orphan Media Cleaner is active on 10+ WordPress websites and has been downloaded 504 times since it launched in June 2026. It was downloaded 186 times in the last 30 days.
Does Gerdoo Orphan Media Cleaner work with WordPress 7.1?
Yes. The developer has tested Gerdoo Orphan Media Cleaner up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Gerdoo Orphan Media Cleaner need?
Gerdoo Orphan Media Cleaner requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Gerdoo Orphan Media Cleaner last updated?
The latest version, 1.1.0, was released on November 15, 2026 (3 weeks ago).
Who makes Gerdoo Orphan Media Cleaner?
Gerdoo Orphan Media Cleaner is developed and maintained by Mohammadreza Maghsoudipour.
What are the best alternatives to Gerdoo Orphan Media Cleaner?
The most popular alternatives to Gerdoo Orphan Media Cleaner are Database Reset Pro (300+ installs), Advanced DB Cleaner MK (100+ installs) and Resetify Pro (100+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



