Ticket #22704: 22704_hg_bzr.diff
| File 22704_hg_bzr.diff, 725 bytes (added by , 12 years ago) |
|---|
-
src/wp-admin/includes/class-wp-upgrader.php
1469 1469 if ( ! file_exists( ABSPATH . '/wp-config.php' ) ) // wp-config.php up one folder in a deployment situation 1470 1470 $stop_dirs[] = dirname( ABSPATH ); 1471 1471 foreach ( array_unique( $stop_dirs ) as $dir ) { 1472 if ( file_exists( $dir . '/.svn' ) || file_exists( $dir . '/.git' ) )1472 if ( file_exists( $dir . '/.svn' ) || file_exists( $dir . '/.git' ) || file_exists( $dir . '/.hg' ) || file_exists( $dir . '/.bzr' ) ) 1473 1473 return false; 1474 1474 } 1475 1475 }