| 开发者 | anu771063 |
|---|---|
| 更新时间 | 2026年10月24日 11:51 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp mediawell scanwp mediawell report <unused|possibly|duplicates|unregistered|missing|quarantine> [--format=table|csv|json|count]These items have no known use and their file name appears nowhere in the database. They go to the quarantine, not the bin, and anything that still asks for them keeps getting the file while it is flagged for you. Keep them in the quarantine for a while before deleting them for good.
Identical files have the same SHA-1 fingerprint. Pictures that look alike are compared with a 64-bit picture fingerprint made from a tiny grey copy of each image, so resized or recompressed copies match. Nothing uses AI or an outside service.
Every known use is pointed at the kept copy and saved as a revision. Any address that is missed still works, because requests for the merged copy's files are redirected to the kept copy while it is in the quarantine.
It works when the server passes requests for missing files to WordPress, which is the usual setup for Apache and nginx. On servers that answer missing files themselves, requests for quarantined files show "not found" and are not counted.
Only the year and month folders that WordPress creates (such as uploads/2024/05). Other folders in uploads belong to plugins and themes and are never touched. Copies made by image optimisation plugins next to a known file, such as photo.webp beside photo.jpg, are left alone.
Editors and Administrators. Each action also checks permission for the exact item: deleting a media item, editing the content that is changed, or editing menus and widgets. Settings need an Administrator.