Plugin Author
slui
(@slui)
Hi @mikoba,
Thank you for taking the time to share your feedback — it’s genuinely appreciated.
You’re absolutely right in pointing out this limitation. Media Hygiene currently relies on attachment data to determine whether a file is “used,” and in WordPress, media can be utilized in many ways (reused across posts, embedded via builders, shortcodes, or custom fields) without being formally attached to a specific post. In those cases, the plugin may flag such files as unused even though they are still in use.
This is a known challenge due to how WordPress handles media relationships, and we understand how this can reduce the plugin’s usefulness, especially for sites with large or complex media libraries.
We’re actively exploring ways to improve detection beyond attachments — including content scanning and broader usage checks — while keeping performance and reliability in balance.
In the meantime, we recommend using the results as a guide rather than a definitive list, and double-checking important files before removal.
Thanks again for your honest input — it helps us improve the plugin for everyone.
Best regards,
Media Hygiene Team