Media Wipe is a powerful WordPress plugin designed for intelligent media library management. Clean up your WordPress media library with confidence using AI-powered unused media detection, advanced safety features, professional DataTable interface, and comprehensive audit logging.
- 🎯 Enhanced Dashboard - New tabbed navigation system for better organization and user experience
- 🔧 Fixed URL Routing - Resolved dashboard navigation inconsistencies
- 🎨 Improved Interface - Plugin notice suppression for cleaner admin experience
- 📋 Better Settings - Redesigned settings page with modern aesthetic
- 🎯 Support Page Polish - Removed visual inconsistencies and improved card styling
- AI-Powered Analysis - Intelligent scanning to identify truly unused media files
- Content Usage Detection - Scans posts, pages, widgets, menus, and theme files
- Confidence Scoring - Each file gets a confidence score (0-100%) for deletion safety
- Advanced Scan Options - Basic scan (fast) or Advanced scan (includes theme files)
- Smart Filtering - Filter by confidence level to focus on safest deletions
- Bulk Operations - Select and delete multiple unused files efficiently
- Professional DataTable Interface - Browse, search, and filter media files with ease
- Bulk Selection - Select multiple files for deletion with checkboxes
- Real-time Search - Find specific files instantly
- Advanced Filtering - Filter by file type, date, and size
- Responsive Design - Works perfectly on all devices
- Delete All Media - Remove all media files with multi-step confirmation
- Safety Protocols - Multiple confirmation layers prevent accidental deletions
- Backup Verification - Ensures users have backups before proceeding
- Progress Tracking - Real-time progress indicators during operations
- Multi-step Confirmation - Configurable safety requirements
- Backup Verification - Mandatory backup confirmation (configurable)
- Text Confirmation - Type "DELETE ALL MEDIA" to confirm (configurable)
- Rate Limiting - Prevents abuse with 1-hour cooldown periods
- Audit Logging - Complete activity logs for compliance
- WordPress Admin Integration - Seamless integration with WordPress admin
- Modern Dashboard - Tabbed navigation system for better organization
- Plugin Notice Management - Clean interface with suppressed third-party notices
- Mobile Responsive - Full functionality on mobile devices
- Accessibility - WCAG 2.1 AA compliant design
- Help & Support - Built-in documentation and support system
Media Wipe uses advanced content analysis to identify truly unused media files:
- Content Scanning - Analyzes all posts, pages, custom post types, and widgets
- Menu Analysis - Checks navigation menus for media usage
- Theme Integration - Scans theme files for hardcoded media references (Advanced mode)
- Widget Detection - Examines all active widgets for media usage
- Customizer Settings - Checks theme customizer for logos, backgrounds, and icons
- 90-100% - High confidence (safest to delete)
- 75-89% - Medium confidence (review recommended)
- 0-74% - Low confidence (manual review required)
- Basic Scan - Fast analysis of posts, pages, and widgets (recommended)
- Advanced Scan - Includes theme file analysis (slower, more thorough)
- Tabbed Navigation - Overview, Quick Actions, Statistics, Recent Activity, and System Info tabs
- Real-time Statistics - View media library metrics with visual charts and percentages
- Plugin Information - Current version, release date, WordPress compatibility, PHP version
- Quick Actions - Direct access to all plugin features with modern card design
- Recent Activity - View latest plugin actions and operations
- System Information - Comprehensive plugin and system compatibility details
- Safety Guidelines - Important warnings and best practices with collapsible sections
- Nonce Verification - CSRF protection on all forms
- Capability Checks - Only administrators can access features
- Input Sanitization - All user inputs are properly sanitized
- Rate Limiting - Prevents rapid successive deletion attempts
- Activity Logging - Comprehensive audit trail
- Backup Confirmation - Require backup verification (enable/disable)
- Text Confirmation - Require typing confirmation text (enable/disable)
- Document Preview - Show file previews in dialogs (enable/disable)
- Activity Logging - Enable/disable deletion audit logs
- WordPress Version: 5.0+ (Tested up to 6.8)
- PHP Version: 7.4 to 8.3
- Multisite: Fully compatible
- Themes: Works with all standard WordPress themes
- Go to Plugins > Add New
- Search for "Media Wipe"
- Click Install Now
- Activate the plugin
- Download the plugin ZIP file
- Upload to
/wp-content/plugins/directory - Extract the files
- Activate through WordPress admin
cd wp-content/plugins/
git clone https://github.com/mdnahidhasan/media-wipe.git- Navigate to Media Wipe → Delete Unused
- Configure scan settings (Basic or Advanced)
- Click "Start Scan" and wait for analysis to complete
- Review unused files with confidence scores
- Use "Select High Confidence Only" for safest deletions
- Select additional files manually if desired
- Click "Delete Selected" and confirm
- Navigate to Media Wipe → Delete Selected
- Browse your media files using the DataTable
- Use search and filters to find specific files
- Select files using checkboxes or "Select All"
- Click "Delete Selected" and confirm
- Navigate to Media Wipe → Delete All
- Review media library statistics
- Complete required confirmations (based on settings)
- Type confirmation text if required
- Confirm deletion
- Navigate to Media Wipe → Settings
- Configure safety and confirmation requirements
- Enable/disable features as needed
- Save settings
- Backup Confirmation: Require users to confirm they have backups
- Text Confirmation: Require typing "DELETE ALL MEDIA" to confirm
- Both Disabled: Simple single-checkbox confirmation
- Document Preview: Show file information in confirmation dialogs
- Activity Logging: Keep detailed logs of all deletion activities
- 🎯 NEW: Delete Unused Media - Revolutionary AI-powered unused media detection
- 🎯 NEW: Smart Content Analysis - Scans posts, pages, widgets, menus, and theme files
- 🎯 NEW: Confidence Scoring System - 0-100% confidence scores for deletion safety
- 🎯 NEW: Advanced Scan Options - Basic (fast) vs Advanced (thorough) scanning modes
- 🎯 NEW: Smart Selection Tools - "Select High Confidence Only" for safest deletions
- 🎯 NEW: Real-time Progress Tracking - Live scan progress with file counts and status
- 🎯 NEW: Professional Results Interface - DataTables integration with sorting and filtering
- 🎯 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
- ENHANCED: Bulk selection now works across DataTables pagination
- ENHANCED: Improved AJAX handling with proper error management
- ENHANCED: Production-ready logging system with debug mode controls
- 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
- 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
- IMPROVED: Simplified sidebar menu item names
- IMPROVED: Enhanced rate limiting with specific wait times
- IMPROVED: Better settings integration with delete operations
- ENHANCED: Plugin information display on dashboard
- FIXED: Settings now properly control confirmation requirements
We welcome contributions! Please feel free to submit issues, feature requests, or pull requests.
- Clone the repository
- Install WordPress development environment
- Activate the plugin
- Make your changes
- Test thoroughly
- Submit a pull request
- Documentation: Built-in help system in WordPress admin
- Issues: GitHub Issues
- Email: mail.mdnahidhasan@gmail.com
- Website: mdnahidhasan.netlify.app
This plugin is licensed under the GPL v2 or later.
Media Wipe performs permanent deletions that cannot be undone. Always create complete backups of your website before using any deletion features. Test on a staging site first.
Md. Nahid Hasan
- Website: mdnahidhasan.netlify.app
- Email: mail.mdnahidhasan@gmail.com
- GitHub: @mdnahidhasan
If you find this plugin helpful, please consider giving it a star on GitHub!
