
內容簡介
Bumpcheck 是一款用於檢查網站相容性的重要外掛,幫助使用者在升級 PHP 版本前,了解哪些外掛和佈景主題可能會失效,確保網站運行順利。
【主要功能】
• 檢查 PHP 8.0 至 8.6 的相容性
• 提供三種結果:失效、使用過時代碼、無問題
• 支援自訂外掛和佈景主題的檢查
• 掃描過程不會超時,快速完成
• 不會將任何數據傳送至外部服務
外掛標籤
開發者團隊
② 後台搜尋「Bumpcheck – PHP 8 Compatibility Check」→ 直接安裝(推薦)
原文外掛簡介
Your host is moving your site to a newer PHP version. Bumpcheck tells you which plugins and themes would stop working, before the switch.
Pick a PHP version from 8.0 to 8.6 and run the scan. Each plugin and theme gets one of three results:
Breaks: it calls something that the chosen PHP version removed or no longer ships. The page shows the file, the line and what to use instead.
Works, uses deprecated code: it runs, but PHP will log deprecation notices.
Ready: nothing found.
What makes it different
It reads the files on your server. Premium plugins, custom plugins and your own theme are checked like everything else.
Nothing leaves your site. No account, no outside service, no data sent.
It covers PHP 8.0, 8.1, 8.2, 8.3, 8.4, 8.5 and 8.6.
It does not time out. The scan runs in short steps. In our test, 21,000 files took 13 seconds.
It knows about old fallback code. Many plugins keep a branch for ancient PHP versions that never runs on your site. Those lines are listed apart and do not count against the plugin.
What it checks
Removed and deprecated functions, constants and INI settings. Array offsets with curly braces. The (unset) and (real) casts. Constructors named after their class. "${var}" in strings. Missing return types on ArrayAccess, Iterator, Countable and JsonSerializable methods. Serializable without __serialize(). Parameters that are nullable only through a null default. Required parameters after optional ones. get_class() without an argument. A third argument to define(). Deprecated mb_convert_encoding() encodings. Functions of the IMAP, pspell and OCI8 extensions, which PHP 8.4 no longer ships.
What it cannot check
The scan reads code and does not run it. Problems that depend on values at run time are out of reach, for example passing null to a function that needs a string, or properties created on the fly (deprecated in PHP 8.2). A clean result means nothing known was found. Test on a staging copy before you switch a busy site.
Bumpcheck Pro
A separate add-on adds a weekly or daily scan with the result by email, CSV and JSON export, and a WP-CLI command. Details and price: getbumpcheck.com.
