WordPress.org

Make WordPress Core

Changeset 25650


Ignore:
Timestamp:
09/30/13 00:24:06 (4 years ago)
Author:
dd32
Message:

Automatic Updates: Disable Automatic updates for Mercurial(HG) and Bazaar(bzr) version control systems in addition to Git and SVN. Props jamescollins. See #22704

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r25649 r25650  
    14981498        $checkout = false; 
    14991499        foreach ( array_unique( $stop_dirs ) as $dir ) { 
    1500             if ( file_exists( $dir . '/.svn' ) || file_exists( $dir . '/.git' ) ) { 
     1500            if ( file_exists( $dir . '/.svn' ) || file_exists( $dir . '/.git' ) || file_exists( $dir . '/.hg' ) || file_exists( $dir . '/.bzr' ) ) { 
    15011501                $checkout = true; 
    15021502                break; 
Note: See TracChangeset for help on using the changeset viewer.