From f0b35af5b995bbf0d6a8b8c913015b43febb2c04 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 16 Mar 2008 18:19:42 +0000 Subject: [PATCH] Fix var name. see #6236 git-svn-id: https://develop.svn.wordpress.org/trunk@7335 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-filesystem-ftpext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php index 15d6ce2f3a..fb326e1862 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -105,7 +105,7 @@ class WP_Filesystem_FTPext{ 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;