[wp-trac] [WordPress Trac] #53384: External plugins who can auto-update are always listed under "auto-updates" disabled
WordPress Trac
noreply at wordpress.org
Sun Jun 13 14:53:01 UTC 2021
#53384: External plugins who can auto-update are always listed under "auto-updates"
disabled
--------------------------+---------------------------------
Reporter: NekoJonez | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 5.7.2
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by pbiron):
I definitely would **not** close this ticket just yet. It is certainly
possible there is a problem in core that is causing the behavior you are
seeing (but I suspect not). When you've heard back from one or more of
the plugin authors then a decision can be made whether to close this
ticket.
When you contact the plugin authors, not only should you reference that
dev-note I linked to, but you can also point them to this ticket.
The most common thing I've seen developers do that allows their plugins to
auto-update **when updates are available** but to not work correctly with
the auto-updates UI (i.e., allow site admins to enable/disable auto-
updates for their plugins) is to not populate the `no_update` property
when they hook into the Updates API.
To quote the dev-note linked to above:
> The `no_update` property is a requirement for the auto-update UI to work
correctly for externally hosted plugins.
>
> Some are already populating the `no_update` for their plugin. Any that
are not should update their code accordingly for the best user experience.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53384#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list