remove naughty not, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
09b6284057
commit
d69536a671
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue