diff --git a/src/wp-admin/includes/class-wp-filesystem-ftpext.php b/src/wp-admin/includes/class-wp-filesystem-ftpext.php index b4809d4b0d..109acc16ff 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/src/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -170,15 +170,6 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { return @ftp_chdir($this->link, $dir); } - /** - * @param string $file - * @param bool $group - * @param bool $recursive - */ - public function chgrp($file, $group, $recursive = false ) { - return false; - } - /** * @param string $file * @param int $mode @@ -365,10 +356,6 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { if ( !@ftp_mkdir($this->link, $path) ) return false; $this->chmod($path, $chmod); - if ( $chown ) - $this->chown($path, $chown); - if ( $chgrp ) - $this->chgrp($path, $chgrp); return true; }