Description
TearSnow Site Icon Cleaner is a simple maintenance utility developed by TearSnow for cleaning up unused WordPress Site Icon files.
When changing the Site Icon in WordPress, previous icon files may remain stored as media attachments. Over time, these unused files can accumulate and increase unnecessary media storage usage.
This plugin automatically detects unused Site Icon attachments and permanently deletes them, helping keep your WordPress media library clean.
The plugin works automatically without any settings page, database options, or additional configuration.
Features
- Automatically detects unused Site Icon attachments
- Keeps the currently active Site Icon safe
- Permanently deletes unused Site Icon media files
- Automatically cleans old icons when a new Site Icon is selected
- No settings page or configuration required
- Lightweight and does not affect frontend performance
How It Works
WordPress stores Site Icons as media attachment posts with the _wp_attachment_context metadata value set to site-icon.
TearSnow Site Icon Cleaner checks these attachments and removes unused Site Icon files while keeping the currently selected Site Icon.
When a new Site Icon is uploaded or selected, the previous Site Icon attachment is automatically removed.
Important Notes
- Deleted Site Icons cannot be restored from the WordPress Media Library because they are permanently deleted.
- Please make sure unused Site Icon files are no longer needed before activation.
- The plugin only removes attachments created for WordPress Site Icons.
FAQ
-
What does this plugin do?
-
TearSnow Site Icon Cleaner removes unused WordPress Site Icon attachments to prevent unnecessary media files from accumulating.
-
Will this delete my current Site Icon?
-
No. The currently active Site Icon is excluded from cleanup and will not be deleted.
-
Does this plugin require any settings?
-
No. The cleanup process runs automatically when the plugin is activated and when a new Site Icon is selected.
-
Can deleted icons be restored?
-
No. The plugin permanently deletes unused Site Icon attachments instead of moving them to Trash.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“TearSnow Site Icon Cleaner” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “TearSnow Site Icon Cleaner” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Automatically removes unused Site Icon attachments.
- Protects the currently active Site Icon.
- Adds automatic cleanup when changing Site Icon.