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
This commit is contained in:
Dion Hulse 2013-09-30 00:24:06 +00:00
parent 05a01e5964
commit 3fa23828e3
1 changed files with 1 additions and 1 deletions

View File

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