| 开发者 | naqeeb026 |
|---|---|
| 更新时间 | 2026年11月16日 18:00 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<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.
For builders or plugins the scanner does not read, use the Whitelist and verify important pages after cleanup.
Learn more
media-purge folder to /wp-content/plugins/ and activate it from the Plugins menu.Yes. Media Purge is a free media cleaner for the WordPress Media Library. It finds unused media, shows where each file is used, moves selected files to a recoverable trash, and lists exact duplicate images. There are no scan limits on the free version.
Install Media Purge, open Media -> Media Purge, and run a scan. Review each result's Used In list, then trash files you no longer need. Keep a backup before you permanently delete anything. Trashed files stay restorable for 30 days by default.
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 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 until you click Trash. As with any cleanup, keep a recent backup before you permanently delete files.
Yes. The free scan reads Elementor image widgets, background images and gallery elements, along with post content, post meta, WooCommerce galleries, widgets and Customizer uploads. For other page builders, check Used In by hand and use the Whitelist for files you know are required.
Use the Whitelist. Click Keep on any file in the Scanner tab to exclude it from future results.
Yes. Product featured images and product gallery images are scanned through post meta.
Files are grouped by 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; one-click merge is planned ("Coming Soon").
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 remain 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.