From 1485267cce59675da2b24555c7885d26b8830eb8 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Sat, 29 May 2010 19:10:49 +0000 Subject: [PATCH] remove naughty not, see #13625 git-svn-id: https://develop.svn.wordpress.org/trunk@15061 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 7100524ea4..d9698a7e4c 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; }