[WordPress] 外掛分享: Attic — Safe Database Audit

首頁外掛目錄 › Attic — Safe Database Audit
WordPress 外掛 Attic — Safe Database Audit 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.5+ PHP 8.1+ v1.0.0 上架:2026-08-30

內容簡介

Attic 是一款專為 WordPress 設計的安全資料庫審核外掛,能有效檢查和清理資料庫中的冗餘資料,避免傳統清理工具可能造成的網站損壞,確保網站運行流暢。

【主要功能】
• 檢查自動加載選項冗餘
• 偵測無效的計劃任務
• 辨識孤立的資料表
• 清理過期的暫存資料
• 追蹤已刪除外掛的殘留資料

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Attic — Safe Database Audit」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Uninstalled and misbehaving plugins leave behind lingering database bloat — autoloaded options, ghost cron events, stranded transients, orphaned tables. Traditional cleanup tools reach for aggressive drop/delete queries that risk breaking your site.
Attic audits your WordPress database for bloat, without any of that:

Autoloaded option bloat — oversized options that load on every page request, ranked by size against Site Health’s 800 KB line.
Ghost cron events — scheduled hooks with no registered callback, firing forever and doing nothing.
Orphaned tables — tables no installed plugin claims, with reclaimable megabytes up front.
Stranded transients — expired timeout pairs and orphaned rows.
Leftovers from deleted plugins — data whose owning plugin is absent from disk entirely.

Two rules outrank every feature:

Quarantine, never delete. Options are stored before removal. Tables are renamed (wp_attic_quarantined_*), never dropped until a purge window passes.
Nothing is called orphaned until your code has been searched for it. Attic streams wp-content — plugins, mu-plugins, themes, wp-config.php — looking for every candidate name before promoting anything to high confidence.

Every finding shows its full evidence inline: which rule fired, what it attributed to and whether that plugin exists on disk, how many code references were found, and the size. A finding you cannot audit is a finding you should not act on.
Filters

attic_protected_options — additional never-flag option names
attic_protected_cron_hooks / attic_protected_tables — same, for cron and tables
attic_finding_confidence — last word on any single finding’s confidence
attic_reference_scan_roots — unusual layouts, custom content dirs

延伸相關外掛

文章
Filter
Mastodon