Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#62418 closed defect (bug) (wontfix)

Automatic update to major WP version should be disabled by default

Reported by: jqz's profile jqz Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

For a live website, an automatic update to a new major WP version with potentially breaking changes is unwanted.

Updates should be first tested in a sandbox or staging environment, to confirm there are no conflicts or issues.

The default setting change in 6.5 (to enable major WP updates) should be reverted. I know it can be changed manually, but the default is entirely unsuitable for a live environment. It's just another unnecessary set-up step that can be easily overlooked.

(Motivation: 6.7 update breaks quite a few things.)

Change History (6)

#1 @jqz
4 weeks ago

On the updates page, you even have the following message:

Important: before updating, please back up your database and files. For help with updates, visit the Updating WordPress documentation page.

It's not possible to do a back-up before updating if the update happens automatically, and you don't know when it will happen.

#2 follow-up: @knutsp
4 weeks ago

  • Keywords close added
  • Version changed from 6.5 to 5.6

Automatic updates for major releases are off by default.

Last edited 4 weeks ago by knutsp (previous) (diff)

This ticket was mentioned in Slack in #core by desrosj. View the logs.


4 weeks ago

#4 in reply to: ↑ 2 @desrosj
4 weeks ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Replying to knutsp:

Automatic updates for major releases are off by default.

I think this was a typo, but just to make sure it's clear: automatic updates for major releases are on starting in WordPress 5.6 (see [49581]/#51743).

This was an intentional decision and there are no plans to reverse this at this time. If you wish to opt-out of automatic updates for major releases, you can set WP_AUTO_UPDATE_CORE to minor or false in your wp-config.php file (documentation).

#5 @knutsp
4 weeks ago

  • Focuses coding-standards removed

Thank you for the correction, @desrosj. I missed that back then. I have always set WP_AUTO_UPDATE_CORE to true since introduced.

#6 @jqz
4 weeks ago

Most of the comments by your own team seem to have been opposed to the idea of major updates enabled by default. So I am baffled as to why this went ahead.

Note: See TracTickets for help on using tickets.