[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
Tue Jan 12 01:51:34 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:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by stacksoft):

 Also, we do NOT want to add custom code to each deployment. We see this
 article https://make.wordpress.org/core/2013/10/25/the-definitive-guide-
 to-disabling-auto-updates-in-wordpress-3-7/ suggesting that we can add a
 filter:

 `add_filter( 'automatic_updates_is_vcs_checkout', 'update_languages_vcs',
 10, 2 );`

 and return false, but that means we need to add custom code to each of our
 vanilla projects?

 I'm super confused on why you would want this extreme behaviour not
 overridable. This is absolutely awful for us. This seems like the exact
 case of having a variable in wp-config.php to disable this behaviour. It
 also looks like since it isn't overridable on 5.6, all past versions are
 not overridable either.

 We are now trying to find methods to trick WordPress on the OS level to
 disable this behaviour. We cannot use custom code for each project, it's
 not viable in the environment we are in :(

 Who thought this was a good idea?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52279#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list