#46814 closed defect (bug) (fixed)
Site Health reports "A plugin has prevented updates" when no plugins are activated.
| Reported by: | axaak | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 |
| Component: | Site Health | Version: | 5.2 |
| Severity: | normal | Keywords: | site-health has-patch commit |
| Cc: | Focuses: |
Description
*Steps to re-create*
Version: WordPress 5.2-beta1-45112
Deactivate all plugins
Run site check get message
A plugin has prevented updates by disabling wp_version_check().
but no plugins are activated. The site cannot be updated but not because of plugins. Better wording might be "Automatic updates are disabled"
Attachments (2)
Change History (7)
#1
@
7 years ago
- Component General → Administration
- Resolution → duplicate
- Status new → closed
- Version → trunk
Duplicate of #46616.
Hello @axaak
Welcome back and thanks for the report.
It seems, however, this has already been fixed.
#2
@
7 years ago
- Keywords needs-patch added
- Milestone Awaiting Review → 5.2
- Resolution duplicate
- Status closed → reopened
This appears to be a result of the test site running on https without a valid certificate.
We do a call back to the page to test for the wp_version_check filter, and the wp_remote_get call will fail with an invalid certificate, causing it to show an error state.
Sounds like it would be more valid to show a warning state if we can't load the result page.
#3
@
7 years ago
- Keywords has-patch commit added; needs-patch removed
46814.patch applies a check for errors in the request, and marks it accordingly if it's a test failure, or an incomplete test.
This means if the only thing we can't do is test for this filter, due to a broken certificate or similar, it will get a recommended status with an appropriate associated text.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
A plugin has prevented message