Linux 软件免费装
Banner图

Elinweb Unused Media Finder

开发者 imansh
更新时间 2026年11月9日 04:42
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library storage cleanup unused media duplicate images

下载

0.9.4

详情介绍:

Elinweb Unused Media Finder scans your site and tells you which files in the Media Library are not used anywhere, where the others are used, and which files are exact duplicates. Then it helps you remove them with less risk. A permanent delete removes the files from the server, so the plugin is built around caution: quarantine first (reversible), delete later, and refuse to continue when a scan looks wrong. No scan can see every use of a file, so keep a backup and quarantine before you delete. What it does What it cannot see Use outside your site (newsletters, social networks, other sites hotlinking a file) cannot be detected. That is why quarantine exists. Always take a backup before deleting. Languages English and Persian (fa_IR).

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate it.
  3. Go to Media → Unused Media Finder → Scan and run a "Database + source code" scan.
  4. Review the Unreferenced tab. Quarantine, wait, then delete.

屏幕截图:

  • Duplicates: files with identical content, with the option to include extra files.
  • Extra files: files on disk that no media item owns, with full path, preview and ZIP download.
  • Unregistered sizes: thumbnails of image sizes that nothing registers any more.
  • Scan: a full scan of the database, plugin tables and source code, with progress.

升级注意事项:

0.7.0 The interface is now English unless your site language is Persian. 0.6.1 Run a new full scan after updating; earlier results still count Yoast cache tables as usage.

常见问题:

Will it delete anything on its own?

No. Nothing is quarantined or deleted unless you select items and press the button.

Is quarantine really safe?

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.

What data does it store?

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.

What happens when I uninstall it?

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.

Does it work on multisite?

It has only been tested on single sites. Uninstall cleanup does not handle every site of a network yet.

A file is listed as used but I know it is not.

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.

更新日志:

0.9.4 0.9.3 0.9.2 0.9.1 0.9.0 0.8.1 0.8.0 0.7.3 0.7.2 0.7.1 0.7.0 0.6.1 0.6.0 0.5.1 0.5.0