From 3fa23828e3b6fc5ce7a29b815a89c5201244afa7 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 30 Sep 2013 00:24:06 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@25650 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php index 81178a4200..c3addc7685 100644 --- a/src/wp-admin/includes/class-wp-upgrader.php +++ b/src/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; }