mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01: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…
x
Reference in New Issue
Block a user