Fix var name. see #6236

git-svn-id: https://develop.svn.wordpress.org/trunk@7334 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-16 18:18:35 +00:00
parent 3b749d6178
commit 3fb7fb7282

View File

@ -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<br/>' );
$this->wp_base = $base;
return $this->wp_base;