[WordPress] 外掛分享: Konfyra Omni Guard

首頁外掛目錄 › Konfyra Omni Guard
WordPress 外掛 Konfyra Omni Guard 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.0.1 上架:2026-08-13

內容簡介

Konfyra Omni Guard 外掛專為防止 WordPress 出現白屏死機問題而設計,透過靜態掃描、運行時保護及依賴性檢查,確保所有外掛依賴正確無誤,提供穩定的網站運行環境。

【主要功能】
• 靜態掃描:分析所有啟用外掛的 PHP 原始碼
• 運行時錯誤處理:捕捉未定義函數調用並顯示恢復頁面
• 依賴性預檢查:在每次管理請求時驗證函數存在性
• 開發者安全輔助函數:提供防崩潰的跨外掛調用工具
• 實時依賴健康概覽:顯示 KPI 卡片和完整依賴圖
• 事件日誌:記錄檢測方法、時間戳和警報狀態

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Konfyra Omni Guard」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The problem Omni Guard solves:
Prevents WordPress White Screen of Death from missing plugin dependencies. Static scanner, runtime guard, pre-flight checks. Free.
This happens constantly. WordPress has no built-in protection for it. Omni Guard fills that gap.
How it works — four layers of protection:
1. Static Scanner
Analyses the PHP source code of all active plugins using PHP’s tokeniser (no regex, no exec). Builds a dependency map: which plugin calls functions defined in which other plugin. Runs twice daily via WP-Cron and whenever a plugin is activated or deactivated.
2. Runtime Error Handler
Registers a set_error_handler() and register_shutdown_function() at priority 1, before any other plugin fires. If an undefined function call occurs at runtime, Omni Guard catches it, logs the incident, and — in admin — shows a clean recovery page instead of a blank screen.
3. Dependency Pre-flight Check
On every admin request, reads the dependency map and verifies that every mapped cross-plugin function actually exists right now. If any is missing, an admin notice fires before any plugin code tries to call it.
4. Developer Safety Shims — og_call(), og_exists(), og_guard()
Global helper functions that plugin developers can use to make their cross-plugin calls crash-proof:
`php

// Returns WP_Error if missing — never crashes
$result = og_call( ‘some_plugin_function’, $arg1, $arg2 );
// Boolean existence check
if ( og_exists( ‘some_plugin_function’ ) ) { … }
// Call with a fallback
$result = og_guard( ‘some_plugin_function’, fn() => ‘default’, $arg1 );
`
Admin Dashboard includes:
* Live dependency health overview with KPI cards
* Full dependency map (filterable by risk level: high / medium / low)
* Incident log with detection method, timestamp, URL, and alert status
* Pre-flight status: functions missing right now
* Settings: scan depth, email alerts, whitelist, ignore list, danger zone
Email alerts are throttled to once per function per hour, with a maximum of 5 per day, to avoid noise.
Zero impact on production performance — scanning runs in WP-Cron background jobs. The runtime guard adds a single error handler registration at init. No database queries on the frontend unless a pre-flight is triggered.

延伸相關外掛

文章
Filter
Mastodon