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; }