Switch the ftpext filesystem to use Passive FTP aswell. Fixes #7940 props mcs_trekkie.

git-svn-id: https://develop.svn.wordpress.org/trunk@9833 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-11-21 17:59:15 +00:00
parent fae4f2aaeb
commit cc2ad7b801

View File

@ -79,7 +79,10 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
$this->errors->add('auth', sprintf(__('Username/Password incorrect for %s'), $this->options['username']));
return false;
}
//Set the Connection to use Passive FTP
@ftp_pasv( $this->link, true );
return true;
}