Switch the ftpext filesystem to use Passive FTP aswell. Fixes #7940 props mcs_trekkie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b55b7a2ccf
commit
f9a218eb6b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue