前言介紹
- 這款 WordPress 外掛「BrightLeaf Digital PHP Compatibility Scanner」是 2025-11-10 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2026-01-07,距離現在已有 49 天。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
php | scan | themes | plugins | compatibility |
內容簡介
總結:PHP 相容性掃描器幫助你評估網站的程式碼(外掛和主題)是否能適應較新版本的 PHP。透過使用 PHP_CodeSniffer 和 PHPCompatibilityWP 規則集進行靜態分析,以標示與所選目標 PHP 版本不相容的程式碼模式。
問題與答案:
1. PHP 相容性掃描器是用來做什麼的?
- 幫助評估網站的程式碼是否能在較新的 PHP 版本上運行。
2. 哪些是此外掛程式的功能?
- 比較目前 PHP 執行時間(基線)和所選目標 PHP 版本(8.0–8.4)。
- 掃描外掛和主題,然後突顯只有在目標版本上會出現的新問題(“delta”)。
- 在工具畫面上顯示清晰的報告,並在外掛清單畫面上添加小徽章。
- 讓你暫停、恢復或停止正在運行的掃描。
3. 靜態分析有哪些重要限制?
- 靜態分析可能會遺漏動態代碼路徑中的問題,也可能生成誤報。將結果視為指南而非保證。在將 PHP 升級到正式環境之前,請始終在測試站環境中測試網站功能。
4. 此外掛有哪些隱私保護功能?
- 所有分析在您的伺服器上本地運行。此外掛不會將任何數據發送到外部服務。
原文外掛簡介
PHP Compatibility Scanner helps you assess whether your site’s code (plugins and themes) is likely to run on newer versions of PHP. It performs static analysis using PHP_CodeSniffer and the PHPCompatibilityWP ruleset to flag code patterns that are incompatible with the selected target PHP version.
What the plugin does (at a glance):
– Compares your current runtime PHP (baseline) to a selected target PHP version (8.0–8.4).
– Scans plugins and themes, then highlights only the new issues that would appear on the target version (the “delta”).
– Shows results in a clear report on the Tools screen and adds small badges on the Plugins list screen.
– Lets you pause, resume, or stop a running scan.
Important limitations of static analysis:
– Static analysis can miss issues in dynamic code paths and can generate false positives. Treat results as guidance, not guarantees. Always test site functionality on a staging environment before upgrading PHP in production.
Features
Select a target PHP version (8.0, 8.1, 8.2, 8.3, 8.4)
Scan all plugins or select specific ones
Scan all themes or select specific ones, with an option to also scan a parent if a child theme is selected
Pause/Resume/Stop controls for long scans
Clear report of only the new issues between baseline (current runtime) and target
Plugin list badges showing a quick summary for the last scan
Privacy
All analysis runs locally on your server. No data is sent to external services by this plugin.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「BrightLeaf Digital PHP Compatibility Scanner」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Better Plugin Compatibility Control 》Better Plugin Compatibility Control 讓網誌管理員能輕鬆檢查所有安裝的外掛相容性。該外掛在外掛頁面上新增版本相容性資訊,方便管理員一目了然地知道外掛...。ServerBuddy by PluginBuddy.com 》ServerBuddy by PluginBuddy.com 可測試伺服器配置,以檢查主機配置問題並確定主機質量。此外,它還提供了多種工具,如WordPress CRON查看器、站點大小映射器...。
Sullivan Compatibility Plugin 》這是與 WordPress 佈景主題 Sullivan 相容的外掛程式。此外掛包含自訂文章類型 Slideshows,允許您在部落格首頁和商店首頁新增投影片秀。。
Eli's PHP Compatibility Scanner 》總結:, 這個外掛是專為開發環境(如 LocalWP、XAMPP 或自託伺服器)開發的,無法在大多數托管服務提供商(如 WP Engine、Kinsta、SiteGround 等)上運作,因...。
KAGG Compatibility 》WordPress 目前並不完全相容於 PHP 8.0 或 8.1。目前已知的 PHP 8.1 問題主要為廢棄通知。, 許多知名 WordPress 外掛,例如 WooCommerce、Jetpack 等,也會出...。
Nouw CSS 》此外掛可讓從 nouw.com 匯入的部落格能夠在 WordPress 部落格上正確顯示。此外掛會加入 Nouw 的圖片拼貼特色所需的 CSS。。
Incompatibility Status 》「Incompatibility Status」是一個 WordPress 外掛程式,透過在管理儀表板上新增一個狀態訊息,顯示可能有關區塊編輯器和全站編輯功能的不相容性問題。, 「In...。
Easy Digital Downloads – Pantheon Compat 》預設情況下,在 Pantheon 托管的站點上啟用 EDD 會在儀表板上顯示一條通知,提示您的文件未受保護。這是因為 Pantheon 使用純 NGINX 伺服器,該伺服器會忽略 ...。WP Browser Compatibility Checker 》WP 瀏覽器相容性檢查器可新增最低瀏覽器相容性設定,讓管理員定義哪些瀏覽器及版本能夠提供最佳的使用體驗。, 當網站訪客的瀏覽器版本低於最低要求時,他們會...。
Plugin Compatibility Table 》總結:, 這個外掛可以透過 wpcompatible.com 網站,幫助你檢測與你的伺服器 PHP 版本和 WordPress 版本相容的指定外掛版本。它提供了一種簡單的解決方案來解...。
Plugin Compatibility Info 》在 WordPress 的外掛管理頁面中,缺少一個重要的資訊:外掛測試適用的 WordPress 版本。這個外掛可以解決這個問題,它會在外掛頁面上新增一個新的欄位,顯示...。
