[wp-trac] [WordPress Trac] #52279: This site appears to be under version control. Automatic updates are disabled. Flag to disable this behaviour?
WordPress Trac
noreply at wordpress.org
Mon Mar 15 19:21:26 UTC 2021
#52279: This site appears to be under version control. Automatic updates are
disabled. Flag to disable this behaviour?
-----------------------------+----------------------
Reporter: stacksoft | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Upgrade/Install | Version: 5.6
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-----------------------------+----------------------
Changes (by desrosj):
* component: General => Upgrade/Install
* milestone: Awaiting Review =>
Comment:
Hi @stacksoft,
Welcome to Trac! My apologies it took a bit to receive a response.
As you identified in your comment before modifying it, the
`automatic_updates_is_vcs_checkout` filter can be used to override this
behavior. The best option for this is probably a plugin file in the `mu-
plugin` folder of your sites. This one line should accomplish your goal:
{{{
add_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52279#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list