[wp-trac] [WordPress Trac] #51836: Show when updates are disabled vs not available
WordPress Trac
noreply at wordpress.org
Fri Nov 20 17:39:56 UTC 2020
#51836: Show when updates are disabled vs not available
-----------------------------+------------------------------
Reporter: paulschreiber | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by pbiron):
Hi @paulschreiber.
I think it would be **really** hard (if not impossible) to detect that
**all** updates (manual and auto) were disabled (by a plugin mucking with
the site transients as shown in your example). So I'm not sure what
change we could make in core to alert site admins to kind of situation you
faced.
Hooking into the `pre_site_transient_update_XYZ` filters is how many
plugins/themes that are not hosted in the .org repo make their updates
known. So simply checking whether those filters were hooked would provide
too many false positives.
Not saying that we shouldn't try to come up with a means of warning site
admins, but again, not sure how would we do that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51836#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list