Opened 4 years ago
Closed 4 years ago
#51626 closed defect (bug) (invalid)
Update option checkout shown for the plugin that does not have update package
Reported by: | rajeshsingh520 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | |
Focuses: | ui, administration | Cc: |
Description
Hi,
We have a plugin that is not hosted on the wordpress.org, so for that plugin we give update motification using wordpress hook
we have faced an issue recently, in the update notification, we send "package" as empty that make the message
"Automatic update is unavailable for this plugin." on the plugins page
but on the Dashboard > update page the plugin does get an checkbox, so user end up selecting it for update and then get the error message
normally if Auto update is not available for a plugin then we should hide this checkbox as well
Attachments (2)
Change History (7)
This ticket was mentioned in Slack in #core-auto-updates by audrasjb. View the logs.
4 years ago
#3
@
4 years ago
Hi @rajeshsingh520.
Thank you for the report.
Without more details about how the Pro plugin is hooking into the WP Updates API, it's hard to know what is going here.
The first thing I would recommend is that you read https://make.wordpress.org/core/2020/07/30/recommended-usage-of-the-updates-api-to-support-the-auto-updates-ui-for-plugins-and-themes-in-wordpress-5-5/ and verify that you are following the recommendations for how to hook into the Updates API.
screenshots