diff --git a/common/lib/mu-plugins.ts b/common/lib/mu-plugins.ts index ffb5aa9a5..78c98f4b9 100644 --- a/common/lib/mu-plugins.ts +++ b/common/lib/mu-plugins.ts @@ -245,7 +245,7 @@ function getStandardMuPlugins( options: MuPluginOptions ): MuPlugin[] { `, } ); - // Disable auto-updates if configured + // Configure auto-updates based on Studio settings if ( ! options.isWpAutoUpdating ) { muPlugins.push( { filename: '0-disable-auto-updates.php', @@ -256,6 +256,16 @@ function getStandardMuPlugins( options: MuPluginOptions ): MuPlugin[] { add_filter( 'allow_major_auto_core_updates', '__return_false' ); `, } ); + } else { + muPlugins.push( { + filename: '0-enable-auto-updates.php', + content: `