diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php index 4860d767d4..d8a774db09 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -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; }