Oli Media Cleaner

Changelog

1.5.0

  • Renamed plugin from “Delete Unused Images” to “Oli Media Cleaner”
  • New slug: oli-media-cleaner, new prefix: olimc_
  • Added “Empty Trash” button — batch-deletes all trashed attachments with progress bar
  • Added taxonomy image scanning: WooCommerce category thumbnails, term descriptions, attribute descriptions
  • Added termmeta deep scan for images stored by third-party plugins
  • Live tab count updates during Trash All and Empty Trash batch operations
  • Fixed trash tab count not updating after single/bulk trash, delete, or restore actions

1.4.0

  • Fixed all WordPress Plugin Check errors
  • Proper output escaping (esc_html_e, esc_html__, esc_html)
  • Translators comments for all placeholder strings
  • Ordered placeholders (%1$d, %2$d) for multi-placeholder strings
  • Fixed SQL preparation: inline $wpdb->prepare(), esc_like() for LIKE queries
  • Dynamic file type filter (only shows detected extensions)
  • Per-page selector (20, 50, 100)

1.3.0

  • Clickable column headers to sort by Name, Size, Type, or Date (asc/desc)
  • File type filter dropdown (JPG, PNG, GIF, WebP, SVG, PDF, MP4)
  • Sort indicators (arrows) on active column
  • Filters, sort, and search all reset when switching tabs

1.2.0

  • Added search box to filter images by name, filename, type, or ID
  • Search works across all tabs (Unused, Whitelist, Trash)
  • Search clears automatically when switching tabs

1.1.0

  • Added “Trash All Unused” button — batch-processes all unused images with progress bar
  • Added scheduled auto-cleanup via WP-Cron (daily, twice daily, or weekly)
  • Settings panel for enabling/disabling auto-cleanup and choosing frequency
  • Native WordPress admin UI refinements (postbox, form-table, nav-tab-wrapper, widefat)
  • Reduced custom CSS from 500+ lines to ~20 lines

1.0.0

  • Initial release
  • Deep scanning: post content, featured images, post meta, ACF fields, WooCommerce, Elementor, theme files, widgets, site identity
  • Whitelist feature with bulk actions
  • Trash and permanent delete with bulk actions
  • Progress bar during scan
  • “What was scanned?” info panel
  • Native WordPress admin UI — no external dependencies

Plugin Website
Visit website

Version:
1.5.0
Last Updated
March 30, 2026
Requires
WordPress 5.8
Tested Up To
WordPress 6.9.4
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.