remove naughty not, see #13625

git-svn-id: https://develop.svn.wordpress.org/trunk@15061 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick 2010-05-29 19:10:49 +00:00
parent f2b7384e9c
commit 1485267cce
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ function update_core($from, $to) {
$roots = array( '/wordpress', '/wordpress-mu' );
foreach( $roots as $root ) {
if ( $wp_filesystem->exists($from . $root . '/wp-settings.php') && $wp_filesystem->exists($from . $root . '/wp-admin/admin.php') &&
!$wp_filesystem->exists($from . $root . '/wp-includes/functions.php') ) {
$wp_filesystem->exists($from . $root . '/wp-includes/functions.php') ) {
$distro = $root;
break;
}