Media Wipe

Changelog

1.5.1 – 2026-05-17

WordPress Playground “Try Now” & Bug Fixes

WordPress Playground
– FIXED: “Try Now” button was missing from the wordpress.org/plugins/media-wipe/ page — blueprint.json was inside the plugin ZIP instead of the SVN assets directory where WordPress.org reads it from
– ADDED: blueprint.json now lives in .wordpress-org/blueprints/ so it is deployed to the SVN assets folder on every push, enabling the live preview button on the plugin directory page
– FIXED: Asset-deploy GitHub Actions workflow only fired on the trunk branch — added main branch as a trigger so blueprint and asset updates are deployed automatically

Bug Fixes
– FIXED: Dashboard media statistics counted trashed attachments, causing the total to be higher than what “Delete All Media” would actually delete (trashed items are excluded from the delete-all operation)
– FIXED: PHP 8.x deprecation notice in the unused media scanner — $_POST[‘nonce’] was accessed directly without an isset() guard before being passed to wp_verify_nonce()
– FIXED: Dead ini_get(‘safe_mode’) condition in the delete-all function — safe_mode was removed in PHP 7.0; the plugin requires 7.4+, so the check was always false and set_time_limit() was silently called regardless
– REMOVED: Unreachable fetch_all_media POST handler in the Delete Selected page — no form submits that field and the result variable was never used

1.5.0 – 2026-04-28

Material Design 3 UI Revamp & Critical Bug Fixes

UI / Design
– NEW: Complete Material Design 3 visual overhaul across all plugin pages
– NEW: MD3 design token system (md3-tokens.css) — colour, typography, shape, and motion tokens
– NEW: Unified MD3 Snackbar notification system replacing old toast/notification stack
– NEW: MD3 Tab bar navigation, page headers, chip filters, cards, switches, and dialogs
– IMPROVED: Selected row highlight changed from bright blue to a subtle neutral tint

Bug Fixes
– FIXED: “Delete All Media” button did nothing — Continue step was blocked by stopPropagation on the dialog container preventing the event from reaching the delegated handler; both Next/Back buttons now use direct binding
– FIXED: “Delete All Media” AJAX nonce mismatch — PHP was verifying against a separate nonce action; all AJAX operations now share the single unified nonce
– FIXED: “Delete Selected Media” always returned “Security check failed” — PHP verified against media_wipe_delete_unused but JS sent media_wipe_ajax_nonce; now consistent
– FIXED: Recycle Bin “Enable” toggle showed stale state until hard reload — settings save was processed after the HTML was already rendered; handler moved to top of function so the form reflects saved state on the same response
– FIXED: Deletion History Activity/Security filter chips had no effect — DataTables was not loaded on the history page so the column search never ran; DataTables is now enqueued for the history page

1.4.0 – 2026-04-12

New Feature: Recycle Bin (Soft Delete)
– NEW: Recycle Bin — deleted media files are now moved to trash instead of being permanently removed, when the feature is enabled
– NEW: Configurable retention period (7, 14, 30, 60, or 90 days) — files are auto-purged by WP-Cron after the chosen period
– NEW: Recycle Bin admin page with a visual grid showing all trashed files with thumbnails, file size, trash date, and days-remaining badge
– NEW: One-click restore — send any trashed file back to the media library instantly
– NEW: Bulk actions — Select All, Select None, Restore Selected, Delete Permanently, and Empty Trash
– NEW: Per-file restore and permanent delete buttons on each card
– NEW: Auto-purge WP-Cron job scheduled on plugin activation, removed on deactivation
– NEW: Enable/disable toggle and retention period selector directly on the Recycle Bin page
– NEW: Designed empty state with animated illustration and feature hints when trash is empty
– IMPROVED: All deletion paths (Delete All, Delete Selected, Delete Unused) now route through the recycle bin when enabled

1.3.4 – 2026-04-12

Bug Fixes & Security
– FIXED: Delete unused files nonce was silently ignored in the AJAX call, causing deletions to fail
– FIXED: PHP notices from references to undefined settings keys (require_backup_confirmation, require_text_confirmation)
– FIXED: filesize() crash when an attachment’s physical file is missing from disk
– FIXED: Featured images on draft/private/pending posts were incorrectly flagged as unused
– FIXED: header_image and background_image customizer settings were never actually checked, allowing those media files to be falsely marked unused
– FIXED: PHP warning when iterating menu items on menus with no items (wp_get_nav_menu_items returns false)
– FIXED: N+1 database query in unused media scanner replaced with a single query
– SECURITY: Removed nonce fallback in ajax_delete_unused that weakened CSRF protection
– SECURITY: Removed unconditional error_log() calls that fired in production on every failed nonce
– SECURITY: IP address logging now uses only REMOTE_ADDR instead of spoofable X-Forwarded-For headers
– PERFORMANCE: Dashboard media size calculation is now cached for 24 hours (cache auto-clears on media add/delete)
– FIXED: Static settings cache was not invalidated after saving settings in the same request
– REMOVED: Instant Images / Unsplash integration feature

1.3.3 – 2026-01-11

WordPress 6.9 Compatibility
– Few minor bug fixes and improvements.

1.3.2 – 2025-10-08

Enhanced DataTable Interface & User Experience
– Few minor bug fixes and improvements.

1.3.1 – 2025-10-06

Enhanced DataTable Interface & User Experience
– ENHANCED: Professional DataTable styling consistency between Delete Selected and Delete Unused tables
– IMPROVED: Delete Unused table now matches Delete Selected table design while preserving unique Confidence column
– ENHANCED: Unified button styling and spacing across all DataTable interfaces
– IMPROVED: Consistent hover effects, transitions, and responsive behavior
– ENHANCED: Mobile optimization with horizontal scrolling and touch-friendly controls
– IMPROVED: DataTable configuration standardization (25 items per page, consistent sorting)
– ENHANCED: Visual consistency with matching table headers, row styling, and image thumbnails
– IMPROVED: Professional confidence badge styling (High/Medium/Low indicators)
– ENHANCED: Streamlined user experience with identical interaction patterns across features
– PERFORMANCE: Optimized CSS and JavaScript for better loading performance

1.3.0 – 2025-07-30

🎉 MAJOR RELEASE: Complete Interface Transformation
– REVOLUTIONARY: Complete plugin simplification – removed Settings and Support pages
– STREAMLINED: Clean 4-page structure: Dashboard → Delete Selected → Delete Unused → Deletion History
– ENHANCED: Delete Unused with beautiful “No Files Found” messages and smarter defaults
– PROFESSIONAL: Modern Deletion History with DataTable, search, sort, and pagination
– OPTIMIZED: Desktop experience with max-width constraints for large screens
– PERFORMANCE: Removed 500+ lines of unused code for 20% faster loading
– DESIGN: Beautiful gradient icons, modern styling, and WordPress integration
– POSITIONING: Logical menu placement right after Media menu (position 11)
– FIXED: Critical undefined variable errors and broken functionality
– UX: Simplified interface with reduced cognitive load and better feedback

1.2.4 – 2025-07-30

Major Interface Improvements & Bug Fixes
– FIXED: Critical undefined variable error in Deletion History page
– ENHANCED: Professional DataTable interface for Deletion History with search, sort, and pagination
– ENHANCED: Beautiful statistics overview with visual activity counts
– SIMPLIFIED: Removed broken “View Details” functionality for cleaner interface
– IMPROVED: Desktop optimization with max-width constraints for large screens (1920px+)
– IMPROVED: Menu positioning – moved to position 11 (right after Media menu)
– PERFORMANCE: Removed 500+ lines of unused JavaScript and CSS code
– DESIGN: Modern gradient icons and professional button styling
– UX: Enhanced mobile responsiveness across all pages

1.2.3 – 2025-07-28

Streamlined Menu Structure
– Removed Settings page – moved logging toggle directly to Deletion History page
– Removed Support page – plugin interface is now self-explanatory
– Removed warning sections from Delete Selected and Delete Unused pages
– Clean 4-page structure: Dashboard → Delete Selected → Delete Unused → Deletion History
– Removed Advanced Scan option – Basic scan is now the optimal default
– Added beautiful “No Files Found” message for empty media libraries with encouraging feedback
– Improved scan result handling with better user notifications
– Safety options unchecked by default for more comprehensive scanning

1.2.2 – 2025-07-26

  • NEW: Dashboard Tabbed Navigation – Modern tabbed interface with Overview, Quick Actions, Statistics, Recent Activity, and System Info sections
  • NEW: Plugin Notice Suppression – Clean admin interface by hiding notices from other plugins on Media Wipe pages
  • NEW: Release Date Display – Added release date information to Support page for better transparency
  • ENHANCED: Dashboard User Experience – Complete overhaul of dashboard navigation and content organization
  • ENHANCED: Settings Page Design – Modern aesthetic with improved form layout and styling consistency
  • FIXED: Dashboard URL Routing – Resolved URL mismatch between main dashboard and redirect targets
  • FIXED: Support Page Styling – Removed left border color from featured feature cards for cleaner appearance
  • IMPROVED: Code Organization – Better plugin structure and maintainability
  • IMPROVED: CSS Consistency – Standardized styling across all plugin pages
  • IMPROVED: JavaScript Enhancement – Added interactive tab functionality for better user experience

1.2.1 – 2025-07-21

  • MAJOR FEATURE: Revolutionary AI-Powered Unused Media Detection system
  • NEW: Smart Content Analysis – Scans posts, pages, widgets, menus, and theme files
  • NEW: Confidence Scoring System – 0-100% confidence scores for safe deletion decisions
  • NEW: Advanced Scan Options – Basic (fast) vs Advanced (thorough) scanning modes
  • NEW: “Select High Confidence Only” button for safest automated cleanup
  • NEW: Real-time scan progress tracking with file counts and status updates
  • NEW: Professional results interface with DataTables integration
  • NEW: Multiple image size detection – Finds usage of thumbnails, medium, large sizes
  • NEW: WordPress Blocks scanning – Gutenberg image, gallery, media-text blocks
  • NEW: Enhanced widget scanning – All widget types including text and custom HTML
  • NEW: Theme file scanning – Advanced mode checks theme files for hardcoded references
  • NEW: Gallery shortcode detection – WordPress gallery usage patterns
  • NEW: Serialized data scanning – Complex field and plugin data structures
  • ENHANCED: Bulk selection now works across DataTables pagination
  • ENHANCED: Improved AJAX handling with proper error management and nonce security
  • ENHANCED: Production-ready logging system with debug mode controls
  • ENHANCED: Cross-page selection support for large result sets
  • ENHANCED: Memory-efficient scanning for large media libraries (1000+ files)
  • ENHANCED: Smart filtering by confidence level for targeted cleanup
  • FIXED: Resolved AJAX action conflicts between different deletion methods
  • FIXED: Improved nonce handling for enhanced security across all operations
  • FIXED: DataTables integration issues affecting checkbox selection and deletion
  • FIXED: Console logging cleanup for production environments
  • PERFORMANCE: Optimized database queries for faster scanning
  • PERFORMANCE: Early exit scanning when usage is detected for speed improvement
  • PERFORMANCE: Efficient batch processing for large media collections

1.1.2 – 2025-07-15

  • IMPROVED: Simplified sidebar menu item names for better navigation
  • IMPROVED: Enhanced rate limiting message with specific 1-hour wait time
  • IMPROVED: Removed text-transform uppercase from confirmation input for better UX
  • IMPROVED: Fixed CSS styling issues for better visual consistency
  • IMPROVED: Updated DataTable class names for proper functionality
  • ENHANCED: Plugin information card now displays on dashboard
  • ENHANCED: Better user experience with cleaner menu structure

1.1.1 – 2025-07-15

  • COMPLIANCE: Fixed WordPress.org plugin directory compliance issues
  • FIXED: Updated WordPress compatibility to 6.7.1 (latest version)
  • FIXED: Reduced tags from 8 to 5 (removed: security, audit, preview)
  • FIXED: Shortened description to meet 150 character limit
  • FIXED: Resolved fatal error from duplicate function declarations (media_wipe_get_all_media, media_wipe_get_unused_media)
  • FIXED: Removed all emoji icons from README.txt for cleaner appearance
  • NEW: Professional DataTables.net integration for Delete Selected Media
  • NEW: Full-screen layout across all plugin pages
  • NEW: Real-time search with instant filtering
  • NEW: Multi-column sorting with visual indicators
  • NEW: Advanced pagination controls (10, 25, 50, 100 items per page)
  • NEW: Bulk selection with working checkboxes and state persistence
  • NEW: Enhanced toast notification system with 4 types
  • NEW: Auto-dismiss notifications with configurable timing
  • NEW: Progress bars for long-running operations
  • NEW: Notification queuing system for multiple notifications
  • NEW: ARIA live regions for screen reader compatibility
  • ENHANCED: Mobile-responsive design with horizontal scrolling
  • ENHANCED: Modern UI with WordPress 6.7.1 admin design consistency
  • ENHANCED: Performance optimizations for large media libraries
  • ENHANCED: Better error handling with user-friendly messages
  • ENHANCED: Clean notice styling with proper heading/paragraph structure
  • ENHANCED: Professional file type badges and media thumbnails

1.1.0 – 2025-07-13

  • MAJOR UPDATE: Complete plugin overhaul with enterprise-grade features
  • NEW: Dedicated WordPress admin menu with professional dashboard
  • NEW: Advanced multi-step confirmation system for delete operations
  • NEW: Document preview functionality for PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX files
  • NEW: Real-time media library statistics and analytics dashboard
  • NEW: Comprehensive security audit logging and activity tracking
  • NEW: Settings page for complete plugin configuration
  • NEW: Built-in help system with comprehensive documentation
  • ENHANCED: User interface with progress indicators and loading animations
  • ENHANCED: Security measures with nonce verification, CSRF protection, and rate limiting
  • ENHANCED: Mobile-responsive design for all devices
  • ENHANCED: Performance optimizations for large media libraries (1000+ files)
  • ENHANCED: WordPress admin design consistency and accessibility (WCAG 2.1 AA)
  • ENHANCED: Error handling with user-friendly messages and graceful degradation
  • ENHANCED: Code quality following WordPress coding standards
  • ENHANCED: Translation-ready with proper internationalization
  • ENHANCED: Batch processing for memory-efficient operations
  • ENHANCED: Comprehensive logging for compliance and audit purposes
  • ENHANCED: Toast-style notifications with better user feedback
  • ENHANCED: Input validation and sanitization for security

1.0.3 – 2025-01-12

  • Added: Assets Updated
  • Few minor bug fixes & improvements.

1.0.2 – 2025-01-11

  • Added: Fetch All Media Option.
  • Improved: Delete Selected Media
  • Few minor bug fixes & improvements.

1.0.1 – 2025-01-10

  • Added: Option for users to delete selected media files.
  • Few minor bug fixes & improvements.

1.0.0

  • Initial release.

Plugin Website
Visit website

Version:
1.5.1
Last Updated
May 17, 2026
Active Installs
30
Requires
WordPress 5.0
Tested Up To
WordPress 7.0
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.