Linux 软件免费装
Banner图

PHP 兼容性检查工具

开发者 wpengine
octalmage
stevenkword
Taylor4484
pross
jcross
rfmeier
cadic
dkotter
ankit-k-gupta
jeffpaul
更新时间 2023年12月14日 23:29
PHP版本: 5.6 及以上
WordPress版本: 6.4
版权: GPLv2 or later
版权网址: 版权信息

标签

php version compatibility checker wpengine compat wpe php 7 wp engine php 8

下载

1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.4.3 1.6.0 1.6.1 1.4.6 1.4.7 1.5.0 1.1.0 1.1.1 1.1.2 1.0.1 1.0.3 1.3.1 1.3.2 1.4.0 1.4.1 1.4.5 1.5.2 1.6.2 1.6.3 1.0.0 1.0.2 1.4.4

详情介绍:

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 does not execute your theme and plugin code, as such this plugin cannot detect runtime compatibility issues. Please note that linting code is not perfect. This plugin cannot detect unused code-paths that might be used for backwards compatibility, and thus might show false positives. We maintain a whitelist of plugins that can cause false positives. We are continuously working to ensure the checker provides the most accurate results possible. 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 免责声明 While this plugin is written to detect as many problems as accurately as possible, 100% reliable detection is very difficult to ensure. It is best practice to run comprehensive tests before you migrate to a new PHP version. The plugin was created by WP Engine to help the WordPress community increase adoption of modern PHP versions. We welcome contributors to this plugin, and are excited to see how developers and other WordPress hosts use this plugin. To disclose security issues for this plugin please email WordPress@wpengine.com.

安装:

Note: Go to 'Plugins' > 'Add New' in the WordPress admin and search for "PHP Compatibility Checker" and install it from there. To manually install:
  1. Upload phpcompat to the /wpengine-wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress You will find the plugin options in the WP Admin Tools => PHP Compatibility menu. Once you click run it will take a few minutes to conduct the test. Feel free to navigate away from the page and check back later.

屏幕截图:

  • 兼容性结果界面

升级注意事项:

1.6.0
  • WordPress minimum increased from 4.8 to 5.6.
  • PHP Compatibility scans now run via Tide and no longer run on your host server!
  • The WP-CLI phpcompat command has been removed as this plugin no longer runs on your host server and relies upon Tide.
1.4.8
  • Update dependencies.

常见问题:

  1. Will this work outside of the WP Engine hosting account?

Yes, this plugin can be used any ANY WordPress website on ANY host.

  1. Are there WP-CLI commands available?

As of the 1.6.0 release this plugin no longer includes the phpcompat WP-CLI command. If you still require use of that command, then please run version 1.5.2 or older of this plugin as those versions extend WP-CLI and provide commands.

  1. A plugin I created is listed as not compatible, what should I do?

We maintain a whitelist of plugins that cause false positives. If your plugin shows up as incompatible but you think that is wrong, please open a GitHub issue on the project, or email wordpress@wpengine.com with info about your plugin and why you know it is compatible (you have automated tests, the failure is on backwards compatibility code paths, etc).

  1. Can I use this to test non-WordPress PHP Projects?

Yes! While you cannot use this WordPress plugin to test your non-WordPress projects, you can use the Open Source PHPCompatibility Library that this plugin is built on.

  1. Why was my plugin/theme skipped?

If your plugin or theme is not available on WordPress.org, then Tide will not be able to scan or return results of that plugin or theme. If your plugin or theme is available on WordPress.org, but Tide is not immediately returning results than it likely means Tide has not yet audited that plugin or theme and within a few minutes results should be available once Tide completes its audit.

  1. The scan is stuck, what can I do?

As of version 1.6.0 of this plugin, there should no longer be issues of the scan getting stuck as it no longer runs on your WordPress host server. If you are seeing significantly slow or unresponsive results from a plugin or theme that is available on WordPress.org, then please open an issue with those details for the Tide team to investigate why that specific plugin or theme version is not appearing in the Tide results.

  1. I found a bug, or have a suggestion, can I contribute back?

Yes! WP Engine has a public GitHub repo where you can contribute back to this plugin. Please open an issue on the Plugin GitHub. We actively develop this plugin, and are always happy to receive pull requests. The plugin was created by WP Engine to help the WordPress community increase adoption of modern PHP versions. We welcome contributors to this plugin, and are excited to see how developers and other WordPress hosts use this plugin. To disclose security issues for this plugin please email WordPress@wpengine.com.

更新日志:

1.6.3 Fix issue where Buffer was not available to the scans. 1.6.2 1.6.1 1.6.0 1.5.2 1.5.1 1.5.0 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.1 1.4.0 1.3.2 1.3.1 1.3.0 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.2 1.1.1 1.1.0 1.0.3 1.0.2 1.0.1 1.0.0 0.1.0