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
This commit is contained in:
Dion Hulse 2013-09-30 00:25:10 +00:00
parent 75475ed773
commit 30b921d10e
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;
}