Servus,
für alle bestehenden WordPress-Installationen sind automatische Major-Updates eine Sache, die explizit aktiviert werden müssen. Auf der Update-Seite in WP findet sich ja jetzt immer auch die Option, mittels derer man automatische Core-Updates aktivieren kann.
Was mich besonders interessiert - welche Voraussetzungen in der Konfiguration des Servers brauchen wir - damit diese WP-Funktionalität auch auf dem (eigenen) Server läuft.
Controlling Background Updates Through wp-config.php
https://kinsta.com/blog/wordpress-automatic-updates/
ZitatAlles anzeigenWordPress provides a couple of wp-config.php constants that allow us to control auto-updates. Setting AUTOMATIC_UPDATER_DISABLED to true will disable any kind of automatic upgrade:
define( 'AUTOMATIC_UPDATER_DISABLED', true );
WP_AUTO_UPDATE_CORE allow us to control core updates (minor, major and development releases). This constant can be defined as follows:# Disables all core updates:
define( 'WP_AUTO_UPDATE_CORE', false );# Enables all core updates, including minor and major:
define( 'WP_AUTO_UPDATE_CORE', true );# Enables minor updates:
define( 'WP_AUTO_UPDATE_CORE', 'minor' );
In development installations WP_AUTO_UPDATE_CORE defaults to true. In stable installations it defaults to minor.For the sake of completeness, I should mention an additional constant that can be defined to disable auto-updates. However, setting its value to true will disable any file edits, even themes and plugin installations and manual updates.
define( 'DISALLOW_FILE_MODS', true );
Frage; brauchen wir für die Auto-Updates eine bestimmte Server-Konfiguration die dieses Feature ermöglicht!?
Servus,
Südtiroler