| 开发者 | naqeeb026 |
|---|---|
| 更新时间 | 2026年10月11日 23:27 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[vc_*] shortcode attributes |
| Beaver Builder | Images stored in Beaver Builder layout posts |
| WooCommerce | Product featured image and all product gallery images |
| Gutenberg / Block Editor | Image, gallery, cover, media-text and core blocks that store attachment IDs |
| Classic Editor | <img> tags and [gallery] shortcodes in post content |
| Widgets & Theme Customizer | Upload URLs stored in widget options or theme mod values |
WordPress 5.8 or higher and PHP 7.4 or higher. Single-site installs only; multisite support is planned.
Learn more
media-purge folder to /wp-content/plugins/ and activate it from the Plugins menu.Install Media Purge, go to Media → Media Purge and run a scan. It lists media files with no detected reference in your content, post meta, widgets, customizer settings or supported page builders, with the file size and a "Used In" check for each one.
Not automatically, and not until you choose to. Files move to the plugin's internal trash first. They stay there for 30 days by default (adjustable in Settings) and can be restored at any time from the Recovery tab. Permanent deletion happens only when you click "Delete Permanently" or when the retention period ends.
The scanner is read-only. It never moves, modifies or deletes anything while scanning, and nothing changes on your site until you click a Trash button. As with any cleanup, we recommend a recent backup before you permanently delete files.
Yes. Elementor, Divi, WPBakery and Beaver Builder are scanned in the free version. For builders the scanner does not support, use the Whitelist to exclude files you know are in use.
Use the Whitelist. Click "Keep" on any file in the Scanner tab to exclude it from all future scan results.
Yes. Product featured images and product gallery images are scanned through post meta.
Files are grouped by their MD5 hash, so byte-for-byte identical files land in the same group regardless of filename. Resized copies or edited versions are not treated as duplicates. Viewing duplicates is free today; one-click merge is planned.
Scans run as a background process in small batches to keep server load low, so visitors should not notice a scan in progress.
Yes. Use the Export CSV button in the Scanner tab.
No artificial limits: no scan caps, no file-count restrictions and no time limits.
On deactivation, scheduled events are cleared and plugin tables are kept, so your scan history and whitelist are there if you reactivate. On uninstall, the plugin's database tables and options are fully removed.
GET /wpmp/v1/healthget_unused_media query to use $wpdb->prepare() — eliminated SQL LIKE injection risk.?page=0 was passed to the media endpoint.POST /scan/cancel REST endpoint to force-clear a stuck scan lock.reset_monthly_count() cron method.