[wp-trac] [WordPress Trac] #51743: Core auto-updates UI: Consider setting it by default for new installations

WordPress Trac noreply at wordpress.org
Thu Nov 12 08:34:33 UTC 2020


#51743: Core auto-updates UI: Consider setting it by default for new installations
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  5.6
Component:  Upgrade/Install                      |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots dev-       |     Focuses:
  feedback needs-testing                         |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In 51743.3.diff:
 - Populate the three new auto-update options: auto_update_core_dev,
 auto_update_core_minor, and auto_update_core_major.
 - Add some more inline comments.

 These pre-populated options apply only to single site installs despite
 that they are set/read with `update_site_option()` and
 `get_site_option()`. To do the same for multisite/network installs it
 seems the code will have to be in `upgrade_network()` and (perhaps) in
 `populate_network()` in `schema.php` but not sure if that's needed/a good
 idea. Pinging @jeremyfelt as the resident multisite/network expert for a
 quick review :)

 Still todo:
 - Test on existing and new single-site installs.
 - TBD: should new network installs be set to do major core auto-updates by
 default, same as single sites?

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


More information about the wp-trac mailing list