plugin-icon

Cleanup Orphan Images

作者:DimitriAus·
Finds and deletes orphan media files from the uploads directory that are not registered in WordPress.
评级
5/5
版本
1.8.0
最后更新
Jan 7, 2026
Cleanup Orphan Images

Removes files left in the uploads folder that are invisible in the WordPress Media Library. This does not include Unattached media, which can be easily found and removed in the standard Media Library.

These orphan files may have been left behind from:

  • Failed or interrupted uploads
  • Plugin operations or migrations
  • FTP/SFTP uploads not registered in WordPress
  • Database restores or imports

Features

  • Scans uploads directory for orphan media files
  • Supports images: JPG, JPEG, PNG, GIF, WebP, BMP, TIFF, SVG, ICO
  • Supports documents: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, ODT, ODS, ODP, TXT, RTF, CSV
  • Supports audio: MP3, WAV, OGG, FLAC, AAC, M4A, WMA
  • Supports video: MP4, MOV, AVI, WMV, MKV, WebM, FLV, M4V, MPEG, MPG
  • Supports archives: ZIP, RAR, 7Z, TAR, GZ
  • Safe manual selection before deletion
  • Warns when orphan count exceeds server’s max_input_vars limit (typically 1000)
  • Optimized O(1) performance with hash-based detection

Note

This plugin does NOT manage “unattached” images in the Media Library. WordPress already provides built-in filtering for unattached media. This plugin focuses specifically on finding physical files that WordPress doesn’t know about at all.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9
这个插件是可用的下载,适用于您的站点。