健康检查与故障排除

描述

此插件将对您的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年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 한국어 번역을 모두 마쳤습니다.좋은 플러그인을 개발해 주어서 고맙다는 인사를 전하고 싶습니다.그리고 보다 많은 언어로 번역되어 많은 워드프레스 사용자들이 편리하게 사용할 수 있기를 바랍니다.
2023年5月8日
To solve a problem with a plugin I came across this. It works great and quickly found out where and with which plugin the problem was!
2023年5月4日
This plugin is problematic; it created a critical issue on my site, and it is impossible to reversed to normal. It is impossible to use this plugin, so I deleted it from the server, but still, my site is in a troubleshooting mood. This plugin broke my site.
2023年4月25日
this plugin is a real bomb! it kept all my plugins disabled after activating the troubleshoot mode! I couldn't do anything, it prevented me for enabling any of it, and not just for myself, but everyone! I don't know if the problem is PHP 8.1 (not compatible?!), but I had to do so many things to be able to deactivate this stupid plugin! Only after adding PHP 7.4 to my server I was able to deactivate it. this is really dangerous!!!
2023年2月23日 3 回复
This plugin is trash! It's dangerous! It's crashed my whole project. Neither is it possible to deactivate the debug mode inside of the plugin, nor to delete the whole bullshit via ftp. It has to be deleted from Wordpress.org immediately!!!
阅读所有150条评价

贡献者及开发者

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

贡献者

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

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

对开发感兴趣吗?

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

更新日志

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.

v1.5.1 (2022-11-02)

  • Fixed a bug where if Health Check was disabled during troubleshooting, you would need to force-enable/disable other plugins or themes.

v1.5.0 (2022-09-10)

  • Added a custom filter for the Health Check plugin PHP Compatibility check.
  • Added functions which will try to disable cache solutions during troubleshooting.
  • Added ability to force changes if loopbacks fail during troubleshooting.
  • Changed how JavaScript is built and bundled in the plugin.
  • Changed the location of the phpinfo() check to the Tools section.
  • Changed how troubleshooting mode implements its conditional actions and filters when enabled.
  • Fixed styling issues for troubleshooting mode in WordPress 5.9.
  • Removed Site Health Status from the plugin, as they were implemented in WordPress 5.2.