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:
parent
fae4f2aaeb
commit
cc2ad7b801
@ -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…
x
Reference in New Issue
Block a user