From d69536a6714c8df440de45668de09b0f3ea03138 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Sat, 29 May 2010 19:10:49 +0000 Subject: [PATCH] remove naughty not, see #13625 git-svn-id: http://svn.automattic.com/wordpress/trunk@15061 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 7100524ea..d9698a7e4 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -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; }