From a6180f4427f66721bf272f6fad9e621ef8fa35dd Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 16 Mar 2008 18:18:35 +0000 Subject: [PATCH] Fix var name. see #6236 git-svn-id: http://svn.automattic.com/wordpress/trunk@7334 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-filesystem-ftpsockets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/wp-admin/includes/class-wp-filesystem-ftpsockets.php index b896ece04..80d22b20d 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php @@ -107,7 +107,7 @@ class WP_Filesystem_ftpsockets{ if( false !== $this->chdir($newbase) ){ //chdir sometimes returns null under certain circumstances, even when its changed correctly, FALSE will be returned if it doesnt change correctly. $base = $newbase; //Check to see if it exists in that folder. - if( $wp_filesystem->exists($base . 'wp-settings.php') ){ + if( $this->exists($base . 'wp-settings.php') ){ if($echo) printf( __('Found %s'), $base . 'wp-settings.php
' ); $this->wp_base = $base; return $this->wp_base;