mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12369 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
545994d1f7
commit
8da73e044d
@ -134,7 +134,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
return $cwd;
|
||||
}
|
||||
function chdir($dir) {
|
||||
return @ftp_chdir($dir);
|
||||
return @ftp_chdir($this->link, $dir);
|
||||
}
|
||||
function chgrp($file, $group, $recursive = false ) {
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user