
Purrge
v1.0.0Eldhose · 2026年11月27日 上架
A lightweight database maintenance utility. Purges expired transients, orphaned metadata, old revisions, and spam to make your database purr.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月27日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
贡献者
Purrge keeps your WordPress database fast, lean, and purring happily without the bulk and bloat of heavyweight maintenance suites.
Over time, active WordPress installations accumulate hundreds of megabytes of expired transients, old post revisions, abandoned auto-drafts, spam comments, and orphaned metadata left behind by deleted plugins. Purrge detects and scoops out this junk safely.
What Purrge Cleans
- Expired & Orphaned Transients: Cleans out expired timeout options and their corresponding transient values from the options table.
- Old Post Revisions & Granular Selector: Safely retains your latest N revisions per post (default: 3) or open the Granular Revisions Manager to inspect post revisions hierarchically, select specific ones with quick-presets, and delete only the revisions you choose.
- Auto-Drafts & Trash: Cleans out abandoned auto-drafts and empties trashed posts/pages.
- Spam & Trash Comments: Purges comments flagged as spam, trashed comments, and outdated pingbacks/trackbacks.
- Orphaned Metadata: Detects and purges dangling rows in
postmeta,termmeta,commentmeta, andterm_relationshipsthat have lost their parent entities. - Interactive Database Tables Inspector: Live explorer of all database tables with row counts, data size, index size, and origin plugin classification (Core, WooCommerce, Elementor, Eventward, etc.).
- Table Maintenance & Clearing: Optimize tables on demand, safely empty (truncate) non-core log/session tables, or drop leftover orphan tables from uninstalled plugins (with strict core table protection).
- Database Table Overhead: Defragments tables with unused allocated storage (
OPTIMIZE TABLE) to reclaim disk space.
Key Highlights
- Dry-Run Inspection First: Live dashboard statistics calculate your total database size, table count, and exact clutter rows before anything is deleted.
- Real-time AJAX Execution: Clean individual items or perform a satisfying “Deep Purrge All” in one click with smooth progress feedback—no full-page reloads.
- Automated Background Sweeps: Optional scheduled cleanup via WP-Cron (Daily, Weekly, or Monthly) to keep your database tidy on autopilot.
- Zero Dependency / Lightweight: Pure WordPress APIs and vanilla JavaScript. No external libraries, tracking, or bloat.