[WordPress] 外掛分享: CB Site Health & Debug

首頁 › 外掛目錄 › CB Site Health & Debug
WordPress 外掛 CB Site Health & Debug 的封面圖片
全新外掛
安裝啟用
—
尚無評分
25 天前
最後更新
—
問題解決
WordPress 6.4+ PHP 7.4+ v1.0.2 上架:2026-09-20

內容簡介

CB Site Health & Debug 是一款針對開發者和網站擁有者的工具,幫助用戶了解頁面加載緩慢的原因及修正方法,無需深入伺服器日誌。

【主要功能】
• 前端除錯工具列,顯示當前頁面資訊
• 網站健康與除錯報告,評估性能問題
• 一鍵清理過期的暫存資料與舊文章修訂
• 慢查詢日誌,記錄超過設定閾值的查詢
• 管理員菜單徽章,顯示關鍵問題數量
• 每週電子郵件摘要,發送關鍵發現

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CB Site Health & Debug」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

CB Site Health & Debug is a two-part tool for developers and site owners who want to know why a page is slow and what to fix, without digging through server logs.
1. Front-end debug bar
A toolbar item (visible only to logged-in administrators) that opens a panel showing, for the exact page you’re looking at:

Database queries, with timing and the code that triggered each one (requires SAVEQUERIES)
Hooks and actions fired, with counts
_doing_it_wrong() calls and deprecated function/argument/hook usage
PHP notices, warnings, and errors
Outbound HTTP API calls and their response times
Enqueued scripts and styles, with handles, sources, versions, and dependencies
Loaded text domains, transient writes, and capability checks
WordPress lifecycle timing (plugins_loaded → init → template_redirect → footer)
Template hierarchy and conditional tags
A custom cbdd_log( $value ) helper you can call from your own code to send values to the panel, the same way you’d use error_log()

2. Site Health & Debug report (Tools menu)
A page that scans your site for common performance and configuration problems and rates each one Good / Warning / Needs Fixing, with a plain-English explanation and a fix — covering PHP/server settings, database bloat (autoloaded options, revisions, expired transients), caching (object cache, page cache), overdue cron events, unoptimized images, and — when WooCommerce is active — Action Scheduler backlogs.
It also includes:

One-click cleanup — remove expired transients, delete old post revisions, clear the slow-query log
Slow query log — queries over a configurable threshold are saved across visits, not just the current page load
History & trend — a daily snapshot shows what’s newly failing or fixed since the last check, and a 10-day trend table
Admin menu badge — a red count bubble on the Tools menu when critical issues exist, refreshed daily even if nobody opens the page
Optional weekly email digest — a summary of critical/warning findings sent to an address you choose

Everything is restricted to users with the manage_options capability. Nothing runs for site visitors, and no data leaves your site — there is no external service, tracking, or license check involved.

延伸相關外掛

文章
Filter
Mastodon