健康检查与故障排除

描述

此插件将对您的WordPress安装进行一系列检查,以检测常见的配置错误和已知问题,也允许插件和主题作者添加自己的检查项。

调试部分,允许您收集有关您的WordPress和服务器配置的信息,这样您就可以简单地将其分享给主题、插件或官方WordPress.org支持论坛的支持代表。

故障排除允许您有一个干净的WordPress会话,该会话中所有的插件都会被禁用,并使用默认主题,但只对您[当前用户]有效,直到您将其禁用或注销。

工具部分可以让您检查WordPress的核心文件是否被篡改,邮件是否可以发送,以及您的插件是否兼容将来的PHP更新版本。

关于如何有效地使用健康检查插件的更多例子,请查看WordPress.org支持团队手册页面关于此插件

欢迎在WordPress.org支持论坛GitHub项目页面,或通过Slack中的#forums#core-site-health频道进行反馈。

屏幕截图

  • 系统经过自动测试后的健康检查界面。
  • 调试信息,提供了复制和粘贴的栏位。
  • 可以用于您站点的一系列工具。
  • 启用故障排除模式,显示您的网站仪表盘。

常见问题

启用故障排除后,我无法访问我的站点

如果您因任何原因卡在了故障排除模式,可以通过清除cookies来轻松的将其禁用。

您不熟悉如何清除cookie吗?不必担心,您也可以关闭所有的浏览器窗口,或者重新启动计算机,即可自动清除此特定cookie。

PHP兼容性检查结果显示这个插件只能用于PHP的某个版本?

该插件是为了给尽可能多的用户提供技术支持工具,这意味着该插件也要必须兼容于较老的站点。

检查PHP兼容性的工具不知道如何将这类代码与实际代码分开,因此会给出错误的结果。

目前,该插件已经在从5.2到7.3的每个PHP版本中进行了测试,并且都可以使用于这些版本。

Where can I report security bugs?

The Site Health team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.

To report a security issue, please visit the WordPress HackerOne program.

评价

2023年11月29日
Couldn't disable this troubleshooter - had to reset my site form the server. Reading through the comments this is not a new problem yet here it is..
2023年7月16日
I hate troubleshooting plugin conflicts, but this plugin makes the process less stressful. I can now troubleshoot and fix issues without affecting the live site, which is a massive bonus. I would highly recommend this plugin. 5*
2023年5月31日
I installed this plugin at the recommendation of a WordPress support forum. I tried to troubleshoot and got this message. "We were unable to copy the plugin file required to enable the Troubleshooting Mode." I tried to check plugin compatibility, and all I got was "could not be determined." I checked the community forum to see if there were any solutions but most of the questions are still unanswered. I was able to get info on some parts of the site, but the two reasons I downloaded it don't function.
2023年5月26日
I have finished the Korean translation.I just want to say thank you for developing such a good plugin.And I hope it will be translated into more languages so that many WordPress users can use it conveniently. Health Check & Troubleshooting 한국어 번역을 모두 마쳤습니다.좋은 플러그인을 개발해 주어서 고맙다는 인사를 전하고 싶습니다.그리고 보다 많은 언어로 번역되어 많은 워드프레스 사용자들이 편리하게 사용할 수 있기를 바랍니다.
阅读所有154条评价

贡献者及开发者

“健康检查与故障排除” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“健康检查与故障排除”插件已被翻译至30种本地话语言。 感谢所有译者为本插件所做的贡献。

将“健康检查与故障排除”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.7.0 (2023-08-06)

  • General: Improved styling inconsistency between the plugin and WordPress core.
  • General: Fixed an issue with plugin translations where language strings would get mixed when using third party language plugins, or a separate profile language.
  • Troubleshooting Mode: Fixed the URL used when disabling elements and having a subdirectory installation.
  • Troubleshooting Mode: Fixed a deprecation warning when disabling troubleshooting mode on PHP version 8.3 or higher.
  • Troubleshooting Mode: Added reference on how to troubleshoot as different users when testing scenarios.
  • Tools: Fixed integration with WPTide for the PHP Compatibility checker.
  • Tools: Added a viewer that will display debug log output when enabled.
  • Tools: Added a warning to the File Integrity tester if unexpected files are mixed in with WordPress core files.
  • Tools: Added a warning if sending emails is taking longer than expected.
  • Tools: Added beta feature toggle for those who wish to test new functionality that may not be fully ready yet.
  • CLI: Fixed the CLI commands, you can now wp health-check status to your hearts content!
  • Beta feature: Added a new beta feature, making it easier for non-technical users to grab screenshots of issues on their site, and share them.

v1.6.0 (2023-03-31)

  • Improved the visual aspects of the Troubleshooting Mode Widget.
  • Improved security by hardening Troubleshooting Mode actions with security tokens (nonces).
  • Added a new tool to check .htaccess rules (where applicable).
  • Added TwentyTwenty Three to the list of default themes.
  • Added option to install the latest classic (non Site Editor-focused) default theme if no default theme exists.
  • Added a new security confirmation prompt in Troubleshooting Mode, if a security token (nonce) value is either expired, or missing.
  • Added better documentation around reporting security concerns.
  • Fixed a bug where notices from previous Troubleshooting sessions would show up in a new session, which is just confusing.