[wp-trac] [WordPress Trac] #48850: Plugins Screen: introduce "Automatic updates" column / option

WordPress Trac noreply at wordpress.org
Fri Jan 24 13:58:32 UTC 2020


#48850: Plugins Screen: introduce "Automatic updates" column / option
-------------------------------------+-------------------------------------
 Reporter:  jeherve                  |       Owner:  audrasjb
     Type:  feature request          |      Status:  assigned
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Plugins                  |     Version:  3.7
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration,
  has-screenshots dev-feedback       |  multisite
  needs-dev-note                     |
-------------------------------------+-------------------------------------

Comment (by desrosj):

 I've been digging into the auto-update internals this week to understand
 everything about how auto-updates works in its current state. I haven't
 tested this patch thoroughly yet, but here are some things that we'll need
 to add to the patch (there will be some overlap for this feedback with the
 theme ticket over at #49199).

 First, an email must be sent to the site owner when a plugin or theme
 auto-updates. In the current state, a site owner only receives an email if
 core auto-updates, someone is running a development version of core (they
 will then receive emails when plugin, theme, and language pack updates are
 applied automatically if enabled with the filter), or
 `automatic_updates_send_debug_email` is being filtered.

 Second, there will need to be a way for someone to blanket enable/disable
 this feature for both plugins and themes. A constant will probably be best
 for this, similar to how it works for core with `WP_AUTO_UPDATE_CORE`.
 `WP_AUTO_UPDATE_THEMES` and `WP_AUTO_UPDATE_PLUGINS` would follow that
 naming convention. For now, this should be `true` or `false`. In the
 future, we could add support for `security`, or maybe even
 `minor`/`major`. When the auto-updates are enabled with one of these
 constants, the admin should indicate this somewhere. "Auto-updates are
 enabled for all plugins", or something to that affect.

 If it is disabled with a constant, then I don't think it has to mention
 auto-updates anywhere in the UI.

 I'll post more feedback as I continue to dig in!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48850#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list