Gerdoo Orphan Media Cleaner

外掛說明

Is your server storage full of unused images and leftover thumbnails?
Gerdoo Orphan Media Cleaner is a tool designed to clean your WordPress media library and physical /uploads/ directory.

🚀 Key Features

  • Deep Database Scanner (Orphans): Finds images that are registered in your Media Library but are unused in posts, pages, WooCommerce products, Elementor, or ACF fields.
  • Deep Filesystem Scanner (Ghost Files): Directly scans your physical /uploads/ folders to find leftover thumbnails and images that the WordPress database doesn’t know exist.
  • Safe Physical Trash Bin: Files deleted from the host are sent to a secure, physical Trash Bin (/gw-trash-bin/). You can restore them to their exact original location with a single click!
  • Optimized Processing: Built with OOP architecture and Cursor-based Pagination. It processes files in smart batches via AJAX, allowing it to scan databases with many images on shared hosts smoothly.
  • Deep Parser Engine: Smart analysis of JSON strings (Elementor), serialized arrays, and shortcodes to effectively identify used media.

螢幕擷圖

安裝方式

  1. Upload the gw-smart-media-cleaner folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Tools -> Gerdoo Media Cleaner to start scanning your site.

常見問題集

Is the host scanner completely free?

Yes! Finding physical “Ghost Files” on your server is 100% free in this plugin.

Will this plugin crash my shared host?

No. The plugin uses Smart Batching and Cursor Pagination to process images 20 at a time. It uses minimal CPU and RAM, making it perfectly safe for huge websites on shared hosting.

If I delete an image by mistake, can I recover it?

Yes! If you delete a physical file from the Host Scanner tab, it goes to the “Physical Trash Bin” tab. You can easily click “Restore” to put it back exactly where it was.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Gerdoo Orphan Media Cleaner〉的開發相關工作。

參與者

將〈Gerdoo Orphan Media Cleaner〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial Release.
  • Added Database Orphan Scanner.
  • Added Deep Host Scanner.
  • Added Physical Trash Bin & Recovery System.