Enable automatic minor core updates when root of site is a git repository

Adding this filter in a must-use plugin or functions.php will allow automatic updates even if the site is under version control:

add_filter( 'automatic_updates_is_vcs_checkout', '__return_false', 1 );

From https://developer.wordpress.org/reference/hooks/automatic_updates_is_vcs_checkout/

Leave a Comment