From 30b921d10ef481dcc7de4e7d1996c01f4111598a Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 30 Sep 2013 00:25:10 +0000 Subject: [PATCH] Automatic Updates: Disable Automatic updates for Mercurial(HG) and Bazaar(bzr) version control systems in addition to Git and SVN. Props jamescollins. See #22704 Built from https://develop.svn.wordpress.org/trunk@25650 git-svn-id: http://core.svn.wordpress.org/trunk@25567 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 81178a4200..c3addc7685 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -1497,7 +1497,7 @@ class WP_Automatic_Upgrader { $checkout = false; foreach ( array_unique( $stop_dirs ) as $dir ) { - if ( file_exists( $dir . '/.svn' ) || file_exists( $dir . '/.git' ) ) { + if ( file_exists( $dir . '/.svn' ) || file_exists( $dir . '/.git' ) || file_exists( $dir . '/.hg' ) || file_exists( $dir . '/.bzr' ) ) { $checkout = true; break; }