mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Upgrade/Install: Enable all core autoupdates for new installs.
Likely needs more work for multisite installs. Reference: https://make.wordpress.org/core/2020/11/10/wp5-6-auto-update-implementation-change/ Props audrasjb, azaozz. See #51743. git-svn-id: https://develop.svn.wordpress.org/trunk@49581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -535,6 +535,13 @@ function populate_options( array $options = array() ) {
|
||||
'disallowed_keys' => '',
|
||||
'comment_previously_approved' => 1,
|
||||
'auto_plugin_theme_update_emails' => array(),
|
||||
|
||||
// 5.6.0
|
||||
'auto_update_core_dev' => 'enabled',
|
||||
'auto_update_core_minor' => 'enabled',
|
||||
// Default to enabled for new installs.
|
||||
// See https://core.trac.wordpress.org/ticket/51742.
|
||||
'auto_update_core_major' => 'enabled',
|
||||
);
|
||||
|
||||
// 3.3.0
|
||||
|
||||
Reference in New Issue
Block a user