plugin-icon

PHP 兼容性检查工具

确保您的插件和主题与较新的 PHP 版本兼容。
评级
2.7
最后更新
December 14, 2023
版本
1.6.3
活跃安装
200K
PHP 兼容性检查工具

WP Engine 的 PHP 兼容性检查工具可用于在任何虚拟主机的任何 WordPress 站点上检查 PHP 版本的兼容性。

This plugin will lint theme and plugin code installed on your WordPress site and give you back a report of compatibility issues as reported by Tide for you to fix. Compatibility issues are categorized into errors and warnings and will list the file and line number of the offending code, as well as the info about why that line of code is incompatible with the chosen version of PHP. The plugin will also suggest updates to themes and plugins, as a new version may offer compatible code.

该插件不执行您的主题和插件代码,因此也无法检测运行时的兼容性问题。

请注意,对代码的检查并不完美。该插件无法检测可能用于向后兼容的未使用的代码路径,因此可能会出现误报。我们维护了一个可能导致误报的插件的白名单。我们正在不断努力以确保检查工具尽可能提供最准确的结果。

This plugin relies on Tide that constantly scans updated versions of plugins and themes in the background. Your scan results should be near real-time, but if not that just means Tide has not yet scanned your specific plugin or theme version. Please be patient as this may take up to 10 minutes for results to be returned from Tide. Please see the FAQ for more information.

Update to PHP 7.4

  • Use this plugin to check your site for compatibility up to PHP 8.0!
  • As of July 2022, 8.52% of WordPress websites run a PHP version older than PHP 7.0.
  • 这些版本的 PHP 已被淘汰和放弃支持超过2年。
  • Only 7.1% of WordPress websites run PHP 8, the current main version of PHP.

免责声明

虽然该插件的编写是为了尽可能准确地检测出更多问题,但检测无法保证 100% 可靠。在迁移到新的PHP版本之前的最佳做法是进行全面测试。

该插件由 WP Engine 创建,只在帮助 WordPress 社区增加对现代PHP版本的采用率。我们欢迎您对该插件做出贡献。我们也很高兴能看到其他开发者和 WordPress 主机商使用该插件。

To disclose security issues for this plugin please email WordPress@wpengine.com.

免费使用Creator套餐
活跃安装
200K
目前已测试版本
6.4.5
此插件可供下载,可用于您的 WordPress 自托管安装。