Fix var name. see #6236
git-svn-id: http://svn.automattic.com/wordpress/trunk@7335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a6180f4427
commit
c41402325f
|
@ -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.
|
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;
|
$base = $newbase;
|
||||||
//Check to see if it exists in that folder.
|
//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/>' );
|
if($echo) printf( __('Found %s'), $base . 'wp-settings.php<br/>' );
|
||||||
$this->wp_base = $base;
|
$this->wp_base = $base;
|
||||||
return $this->wp_base;
|
return $this->wp_base;
|
||||||
|
|
Loading…
Reference in New Issue