When automatic updates are enabled, what is the difference between the default behavior of major and minor versions?

📅 October 9, 2026 👁️ 12

After the content management system is enabled for automatic updates, what are the differences in handling major and minor versions, and what should be paid attention to in operations, which are the two most practical issues in the upgrade strategy.The official WordPress operations manual states the default settings clearly: most sites are set to enable automatic updates by default, covering the four categories of core, plugins, themes, and translation files;And since version 5.6, new installations have the automatic update feature enabled by default for both minor and major versions. In contrast, another design puts such upgrades for site-wide operations in a default non-public position, requiring explicit enablement to execute - the two orientations correspond to two operation and maintenance assumptions.

What does the minor version auto-update supplement

The minor version usually only does three things: fix defects, supplement security, and do not change the structure. Its change scope is small, and the rollback cost is low, so it is suitable for automation. To judge whether a version number belongs to this category, look at whether the last digit has changed - if the first two digits are unchanged and the last digit is incremented, it is generally in this category.

The value of automatically filling this level lies in the time difference: the interval from the release of the security patch to its installation is the most direct measure of the attack window. When manually following up, this interval depends on how often the operations personnel check the announcements; automatic follow-up reduces it to the level of hours.

Why should not the release of large versions be left to automatic

The things that large versions will change do not belong to 'compatibility within the repair range': data structure, template available tags, interface form, default behavior. Any change in these items may cause abnormal display of online pages, and the abnormality may not appear on the homepage - more likely on some low-frequency column or some form.

Risk asymmetry is also here: the cost of recovery from automatic failure of small versions is low, and the cost of recovery from automatic problems in large versions depends on whether you have the current backup. Therefore, the orientation of 'new installation defaults to automatic for large versions' is reasonable for personal websites that mainly operate content and have a long-term static page structure; it is not for corporate websites and government websites.

Orientation Default coverage range Suitable scenario Actions to be taken
Automatic for both small and large versions Core, extension, theme, and translation four categories Stable structure, mainly text-based, unattended Randomly check the page list after changes
Automatically supplement small versions, manually evaluate large versions Automatic security and defect repair, manual changes to functionality and structure Corporate website, multiple sites, complex structure Fixed evaluation window
Upgrade actions are not open by default Explicit enablement and confirmation required for station-level changes Boundary requirements for backend permissions Clarify who has the authority to enable

Differences in operation with two default orientations

The difference is reflected in three aspects. The first is the rhythm: Automatic means that the change time of the site is decided by the publisher, and manual evaluation means that it is decided by your calendar. The second is responsibility: When there is a problem, the automatic side must be able to prove that 'no one has seen it and it has changed', and the manual evaluation side must be able to prove that 'it has been seen and judged'. The third is the aspect of ability: To collect the upgrade actions in the explicit opening according to the domain, so that in a multi-site scenario, the consequence of 'operation of one site affects other sites' will not occur.

What should be included in the backup before the upgrade?

This step is more important than the orientation itself. The backup capability within the site covers both data and static files, and before the upgrade, both layers need to be taken away together. The reason is very practical: major version changes often change both the database structure and the generated static products, and simply backing up the database is not enough to restore the page display.

Three specific practices: after the backup is completed, check once whether it can be read out, not just whether files have been generated; mark the backup with time, and rollback according to the mark instead of sorting by filename; place the backup storage location in a path that is not publicly accessible to the site, so that this file itself should not become a second leak point when the upgrade fails.

Schedule the upgrade on the maintenance calendar

An executable arrangement: small versions of security class go automatic and are completed on the same day; changes in functionality and structure are concentrated in one window per month, first tested in the test environment or experience station, and confirmed to be normal on the homepage, list page, article page, and form pages before going live; clean up the residual extended components once every quarter, and handle those that are not maintained according to the 'Not Supported' category in the announcement, replacing or decommissioning them, and do not leave them in the automatic channel.

Common questions

Question: Isn't it safer to not automate at all?Answer: No. The time difference for security patching is the attack window, after turning off automatic, it is necessary to compensate with a shorter follow-up rhythm, but most teams cannot do it.

Question: What are the actual differences between Docker image deployment and panel deployment in upgrades?Answer: The image method changes the overall version, rollback relies on going back to the old image, coarse but reproducible; panel and command line methods require you to control the backup and directory differences, flexible but dependent on operational standards.

Question: How do you know if your site has the major version auto turned on?Answer: Check the corresponding constants in the configuration file or the update settings in the background; the default values for sites installed and upgraded from old versions may be different, and they should be confirmed through actual testing rather than by inference from the documentation.

Related articles

How should the filing number be handled when changing servers or access providers?

How to handle the filing number when changing the server of the website, the judgment standard is whether the access provider has changed: When changing the access provider, the access filing should be handled at the new access provider, and the change of materials for the same subject should go through the change filing and require bureau review. This article clarifies two actions, the impact on access during the review period, and the most easily overlooked one when multiple sites share a domain name.

2026-10-09

The difference between panel one-click deployment and command line deployment, where are the differences in daily maintenance actions

Use the same program to deploy with one click on the panel or configure layer by layer with the command line, only once during the installation stage, the difference lies in the four daily actions of adding new sites, certificate renewal, log rotation and backup recovery. This article compares the workload of two paths for each action and explains why it is necessary to compare the environment first before comparing the data when migrating.

2026-10-09

After enabling reverse proxy, the visitor's source address is not accurate, which request header should be added.

After reverse proxy, the source address becomes the address of the proxy server, because the proxy defaults to not transmitting the original Host and Connection headers. The required request headers are Host and X-Forwarded-For: the former passes the original domain name through a variable, and the latter appends the client address. When multiple sites share a single entry point, a missing Host can cause a site error, and the port mapping relationships should also be recorded in the deployment document.

2026-10-09

The back-end login port is repeatedly attempted, what else can be done besides changing the access address?

When the back-end login port is repeatedly attempted, changing the access address only reduces the passive exposure area, but the real way to reduce the probability of success is another three layers: identity and token management, automated submission control, and high-risk operation domain switch for automated tools. This article provides executable changes for these three layers and explains the order of handling after attempts, including verification of credential rotation and backup recoverability.

2026-10-09

Should the backup take the uploaded images and static files together?

A backup of only the database will leave a very specific gap: after the restore, the article list is still there, but the images, attachments, and static resources in the main text all point to invalid addresses. The scope of a complete backup should cover both data and static files, and regular recovery drills should be conducted. The trash can only cover deleted documents and cannot replace backups; the location relationship of the backup files themselves should also be recorded with the site deployment directory and upload directory.

2026-10-09

Static resources added version number still hit the old cache, how should the cache header be written?

Adding version number still hits old files, usually because the response header and filename strategy are not matched: max-age is calculated from the moment the response is generated on the source site instead of the moment it is received, without must-revalidate after expiration, it may continue to reuse outdated copies; s-maxage only manages shared caching and overrides max-age; immutable should be used with version numbers to avoid unnecessary conditional requests. The cache duration for page content and static resources should be configured separately.

2026-10-09

Should compression be done in the program or in the Web server, and should static files be pre-compressed?

Dynamic compression consumes CPU each time a request is made and is limited by minimum length and type list; pre-compression shifts the cost to the publishing stage, sending the existing .gz file directly, but ensuring that the modification time of the original file matches that of the compressed file. The two layers are not substitutes: the content management program is responsible for generation, and the web server is responsible for choosing the sending method based on the client and type, with the help of caching and reverse proxy layers to achieve stable loading speed benefits.

2026-10-09

Certificates are valid for ninety days and automatically renewed, where should this be configured?

The default validity period of the HTTPS certificate is ninety days, and renewal should not wait until the browser alarms. Automatic renewal should be as a fixed scheduled task in the deployment process, after the certificate is issued and before the service is reloaded, and it is recommended to trigger once every sixty days. To confirm that it has been renewed, you need to check the actual expiration date of the online certificate, and also check the old address redirection and mixed content, and keep a backup before changing the certificate.

2026-10-10