跳到内容

CB Site Health & Debug

v1.0.2

Chris M Ybanez · 2026年9月21日 上架

A developer debug bar plus a plain-English site performance report, with one-click cleanup, trend history, and an optional weekly email digest.

正在使用
10 以下
评分
暂无
累计下载
210
最近更新
2026年9月21日
需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

截图

The CB Site Health & Debug performance report, showing status badges and fixes.
The CB Site Health & Debug performance report, showing status badges and fixes.
The front-end debug bar panel.
The front-end debug bar panel.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums