[wp-trac] [WordPress Trac] #48850: Plugins Screen: introduce "Automatic updates" column / option
WordPress Trac
noreply at wordpress.org
Tue Feb 4 02:49:00 UTC 2020
#48850: Plugins Screen: introduce "Automatic updates" column / option
-------------------------------------+-------------------------------------
Reporter: jeherve | Owner: audrasjb
Type: feature request | Status: accepted
Priority: normal | Milestone: 5.4
Component: Plugins | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration,
has-screenshots dev-feedback | multisite
needs-dev-note |
-------------------------------------+-------------------------------------
Comment (by markparnell):
Replying to [comment:47 desrosj]:
> The way I was thinking of it was:
> - The constant disables the UI aspects of the feature and defaults all
plugins to `$update = false` or `true`.
> - The only way to toggle a plugin's auto-update status when the constant
is defined would be to use the `auto_update_plugin` filter (or a new
filter that I am debating adding).
Would that mean that a plugin could itself override any value set in the
constant by using the filter? I'm not sure that's a good thing - I could
perhaps see the argument that a plugin author might want to disable auto-
updates for their plugin, but would we want them to be able to turn them
on even if the site owner has chosen to turn them off?
You could of course still override that again with another filter using a
later priority, but that would require you to know you needed to do so in
the first place.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48850#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list