Media Hygiene: Remove or Delete Unused Images and More! changelog
By slui, on WordPress.org since 2023. 5,000+ active installs.
17 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- Fixed: updating from 6.0 could show a server error on the update screen. The update itself finished correctly, and the site was not affected.
- Changed: the deactivation feedback form is now only added to the Plugins screen, instead of to every admin page.
-
- Fixed: your site logo could show as unused on almost every theme. Site logos, site icons, and any image set in the Customizer are now recognised.
- Fixed: on a block theme, images placed in a header, footer or page template through the Site Editor were never checked, so they could show as unused. Templates, template parts and reusable blocks are now included in every scan.
- Fixed: images in your widgets and in Additional CSS were not checked, and could show as unused.
- Fixed: a file could be wrongly held back from your unused list because of a mix-up with unrelated theme settings. Across five real sites this cut the number of files being guessed at from 79 to 2.
- Added: deleting permanently now asks you to confirm, twice for a bulk delete and once for a single file. It asked nothing at all before, while moving files to Trash asked twice. Trash can be undone and permanent deletion cannot, so the warnings were the wrong way round.
- Added: moving files to Trash now asks you to confirm once, and tells you how many files.
And 18 more notes.
-
- Rewritten scan engine: it reads your page content directly instead of making an HTTP request for every URL.
- Scanning is significantly faster on large media libraries, with up to 30 times fewer database queries per batch and lower memory use.
- A single problem item no longer stops the whole scan.
- Clear error messages when a scan step fails, instead of a scan that simply stops.
- Hardened the handling of background requests.
- Contact details in the deactivation form are only sent if you tick the box.
And 1 more note.
-
- Hardened every database query against SQL injection.
- Fixed a cross site scripting issue in the copy media URL action.
- Server errors are no longer shown in the browser.
- Anonymous usage data is now opt in. Nothing is sent unless you agree.
- The deactivation feedback form now has an opt in checkbox.
- Fixed dashboard figures showing the wrong values.
And 6 more notes.
-
- Fixed missing permission checks on background requests, which now refuse unauthorised calls.
- Fixed SQL injection risks in the whitelist, bulk action, scan, Elementor and download handlers.
- Fixed unescaped output in the security token handlers.
- Fixed an email header injection risk in the scheduled notification.
- Fixed unescaped links in the scheduled email.
- Fixed the file version used for cache busting, so updated files reach browsers.
-
- Security release.
-
- Rebuilt how Elementor content is scanned.
- Added Trash, so files can be removed and restored rather than deleted outright.
- The position of Media Hygiene in the WordPress menu can now be changed.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
- Security release.
-
- Added a setting for how many results to show per page.
- Added the email notification telling you about media uploaded since your last scan.
- Improved detection of background images.
-
- Reworked the interface for readability.
- General performance improvements.
- Confirmed PHP 8.1 compatibility.
- Updated error log handling.
- Updated data privacy handling.
- Added the option to exclude CSS files from a scan.
And 4 more notes.
-
- Improved detection of images in page source code.
- Added support for WP Engine server setups.
- Added the deactivation feedback form.
- Improved the dashboard interface.
-
- Performance and compatibility improvements.
-
- Performance improvements.
-
- Added compatibility with the Astra and OceanWP themes.
-
- Improved detection for the Enfold theme.
- Better scan notices for themes and plugins.