mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389.
See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38470 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,6 +30,10 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||
$this->method = 'ftpsockets';
|
||||
$this->errors = new WP_Error();
|
||||
|
||||
// Check if possible to use ftp functions.
|
||||
if ( ! @include_once( ABSPATH . 'wp-admin/includes/class-ftp.php' ) ) {
|
||||
return;
|
||||
}
|
||||
$this->ftp = new ftp();
|
||||
|
||||
if ( empty($opt['port']) )
|
||||
|
||||
Reference in New Issue
Block a user