| 开发者 | imansh |
|---|---|
| 更新时间 | 2026年11月9日 04:42 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
-scaled, WebP, URL-encoded, \u-escaped, HTML entities, Unicode-normalised), ids (featured image, galleries, blocks, shortcodes), Elementor (loops, dynamic tags, V4), ACF / Secure Custom Fields, Meta Box, Pods, JetEngine, WooCommerce, Gravity Forms, Fluent Forms, WPForms, Contact Form 7 and Smart Slider.wp elinweb-unused-media-finder scan|status|unused|usage|quarantine|restore|delete|keep/wp-content/plugins/, or install it from the Plugins screen.No. Nothing is quarantined or deleted unless you select items and press the button.
A quarantined file is still served for its old URL, so pages that still use it keep working, and the request is logged so you can see it. One caveat: if your server answers requests for missing image files itself (an nginx or LiteSpeed rule, or a CDN), WordPress never sees them, the file returns a 404 and nothing is logged. The plugin tests this and warns you on the Quarantine tab.
It has no settings page. It creates up to five tables (mtrk_refs, mtrk_paths, mtrk_files, mtrk_hashes, and mtrk_xhashes while a duplicates check includes extra files), a few options prefixed mtrk_, the post meta _mtrk_quarantine and _mtrk_keep, and the user meta mtrk_per_page and mtrk_view. For quarantined files it logs the time, referring URL and user agent of each request, locally in the database. Nothing is sent to any other server.
Quarantined files are moved back to their original place first, then the tables, options and meta above are removed. A file that cannot go back (its original path is taken again, or the folder is not writable) is not deleted: it stays in the mtrk-quarantine-… folder inside the uploads folder for you to handle. Deactivating keeps everything.
It has only been tested on single sites. Uninstall cleanup does not handle every site of a network yet.
Open "Where it is used". Tables of plugins you removed long ago and caches (for example Yoast's indexable tables) can mention a file without using it. Logs and well-known caches are skipped; if you find another one, please report it.
wp elinweb-unused-media-finder.